1.基本语法
自动缩进
set autoindent
set cindent
set autoindent
set cindent
2.
在etc/vimic
源码:
提示按'F4',会调用AddTitle函数
map
<span style="color: #0000ff"><<span style="color: #800000">F4<span style="color: #0000ff">> : call AddTitle() <span style="color: #0000ff"><<span style="color: #800000">cr<span style="color: #0000ff">>3.修改为不提示自动创建(也可以提示自动创建)
源码:
function AddTitle()
call setline(1," ")
endf
call setline(1," ")
endf
3.shell的高亮显示