Vim 命令学习札记

2014-11-24 14:08:08 · 作者: · 浏览: 4

Vim 向程序员提供的功能:


1. Folding;


(1)Manual Folding, for example,


3zF/2zfj hide three lines in a fold


(2)indent


(3)expr


(4)syntax


(5)diff


(6)marker


2. Auto and smart indenting;


3. Key word and dictionary word completion;


The methods of completion include: Whole line, Current file keywords, dictionary option keywords, thesaurus option keywords, Current and included file keywords, Tags(as in ctags),


Filenames, Macros, Vim command line, User-defined, Omni, Spelling suggestions, complete option keywords.


4. Tags and extended tags;


5. Syntax highlighting;


6. Syntax highlighting authoring(roll your own)


7. Quickfix, Vim' mini-IDE