http://vim.wikia.com/wiki/Delete_all_lines_containing_a_pattern The ex commandgis very useful for acting on lines that match a pattern. You can use it with thedcommand, to delete all lines that contain a particular pattern, or all lines that do not contain a pattern. For example, to ...
-S, --smart-case Searches case insensitively if the pattern is all lowercase, case sensitively otherwise. -s, --case-sensitive Searches case sensitively. -v, --invert-match Invert matching. Show lines that do not match the given patterns. -w, --word-regexp Only show matches surrounded ...
c -> 跟d键一样,但是删除后进入输入模式 (same as “d” but after delete, in insert mode) S -> 删除一行(好像dd一样)但是删除后进入输入模式 (same as “dd” but after delete, in insert mode) s -> 删除字符,跟(d)一样,但是删除后进入输入模式 (same as “d” but after delete, in ins...
local function bash(_, _, command) local file = io.popen(command, "r") local res = {} for line in file:lines() do table.insert(res, line) end return res end -- Returns a snippet_node wrapped around an insert_node whose initial -- text value is set to the current date in the...
"vim.visualModeKeyBindingsNonRecursive": [ {"before": [">"],"commands": ["editor.action.indentLines"] }, {"before": ["<"],"commands": ["editor.action.outdentLines"] }, ] Bind<leader>vimto clone this repository to the selected location. ...
The :Note and :DeleteNote commands support tab completion of note titles Deleting notes: The :DeleteNote command enables you to delete the current note Searching notes: :SearchNotes keyword … searches for keywords and :SearchNotes /pattern/ searches for regular expressions The :SearchNotes comm...
" Filter the result list according to a user pattern, matching either file " or the result list text. " " :ResultListDo [+arg] " Perform an action on all entries in the quickfix list " 配置 " > 参考资料 " + []() "...
:HopPattern: hop around by matching against a pattern (as with/). :HopChar1: type a single key and hop to any occurrence of that key in the document. :HopChar2: type a bigram (two keys) and hop to any occurrence of that bigram in the document. ...
Lines [QUERY] 搜索缓冲区行内容 BLines [QUERY] 搜索当前缓冲区行内容 Ag [PATTERN] ag搜索结果(ALT-A选择全部,ALT-D取消所有) Rg [PATTERN] rg 搜索结果(ALT-A选择全部,ALT-D取消所有 ) History 列举打开的文件历史记录 History: 列举执行的命令历史记录 History/ 列举执行的搜索历史记录 Marks 搜索标记 Co...
Github地址:https://github.com/deepzz0/dotfiles/blob/master/.vimrc 多的不多说,耗时整整一天。处女座就是这么不能忍。 超级详细,超级清晰。弄懂vim配置的好范例。你要的都在这里了。希望对你们有所帮助。 " Vundle {{{ set nocompatible " be iMproved, required filetype off " required " set the run...