2. 来自? Vim 作者: Bram Moolenaar ( http://www.moolenaar.net/ ) http://en.wikipedia.org/wiki/Bram_Moolenaar Vi 作者: Bill Joy 在 sun 工作时间 1982-2003 http://en.wikipedia.org/wiki/Bill_Joy
20. 自动化 Remap< Tab > “ Insert <Tab> or complete identifier “ if the cursor is after a keyword character function MyTabOrComplete() let col = col('.')-1 if !col || getline('.')[col-1] !~ '' return "lt;tab>" else return "lt;C-N>" endif endfunction inoremap <Tab> <C-R>=MyTabOrComplete()<CR>