ITPub博客

首页 > Linux操作系统 > Linux操作系统 > vim 的word completion

vim 的word completion

原创 Linux操作系统 作者:lfree 时间:2006-04-29 00:00:00 0 删除 编辑
最近使用vim编程,经常需要很长一串英文单词,需要有一个word completion的功能,我
记得以前看到一个,到站点看看,发现这个功能。

下载这个scripts/download_script.php?src_id=2218
文件word_complete.vim,拷贝到plugin的目录
可以修改如下参数来调整工作模式:

(1) a minimum length of word to be completed
(2) the character (default ) used to accept the completion.

" Each time you type an alphabetic character, the script attempts
" to complete the current word. The suggested completion is selected
" in Select mode, so you can just type another character to keep going.
" Other options: to accept, to get rid of the completion,
" to leave Insert mode without accepting the completion,
" or to cycle through choices, to enter mode.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/267265/viewspace-82836/,如需转载,请注明出处,否则将追究法律责任。

上一篇: v$latch 的wait_time
下一篇: windows 的bug
请登录后发表评论 登录
全部评论
熟悉oracle相关技术,擅长sql优化,rman备份与恢复,熟悉linux shell编程。

注册时间:2008-01-03

  • 博文量
    3453
  • 访问量
    7143403