Skip navigation.

Learning linux……

VimTip 4 单词补全

原 文: http://www.vim.org/tips/tip.php?tip_id=4
翻 译: tocer tocer.deng@gmail.com
修 订:
更新日期: 2006-05-25
VimTip 4 单词补全
-----------------

我编程序或者写东西的时候,往往有些标识符或者单词一直被使用。我偶然中发现
'ctrl-n' 命令,能够尽量补全光标下的单词。一旦敲入这个命令,它会尝试先使用
当前文 件中的匹配补全单词。如果没有找到匹配,就会搜索当前文件中包含的文件
(至少在 C 代 码中是这样)。重复这个命令将遍历所有的匹配。

VimTip 3 使用 vim 快速编译 java 文件VimTip 5: 轻松编辑相同目录下的文件

Comments

Anonymous 30. January 2007, 00:58

Anonymous writes:

12358585

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30