Archive for 十二月 28th, 2006

我的_vimrc更新

” An example for a vimrc file.

” Maintainer: Bram Moolenaar <Bram@vim.org>
” Last change: 2002 May 28

” To use it, copy it to
” for Unix[......]

Read more

2 Comments

Vim使用技巧(三)――使用字典文件

一个典型的Vim字典文件就是每行一个单词,如下所示:

abstract
boolean
break
byte
case
catch

编辑_vimrc,在文件中加入字典文件位置的设定:

” set root directory of DICTIONARY, whose value by d[......]

Read more

No Comments

Vim使用技巧(二)――Vim 7新功能体验

* 使用拼写检查功能

Vim 7 内置了一项与 Microsoft Word 类似的拼写检查功能,使用该功能可以检查出所拼写词语的错误。在默认情况下,这项功能是没有开启的。若是使用 GVim 的话,可通过“Tools -> Spelling -> Spell check on”菜单命令[......]

Read more

No Comments

Vim使用技巧(一)

# searching 查找
/joe/e : cursor set to End of match
把光标定位在匹配单词最后一个字母处
/joe/e+1 : cursor set to End of match plu[......]

Read more

No Comments