经过两年多的时间,Vim终于有个新的release:
The biggest additions since 7.2:
- Persistent undo and undo for reload
- Blowfish encryption, encryption of the swap file
- Conceal text (note: since 7.3a 'conc' was renamed to 'cole')
- Lua interface
- Python 3 interface
新增了离线撤销等功能,对我来说比较实用的是加入了colorcolumn(:help colorcolumn),
用来替代以前临时的margincolumn功能.
比如要高亮第1和第72列: set colorcolumn=1,72
关闭高亮显示: set colorcolumn=0
当然需要在配色文件里设置高亮模式,比如
hi ColorColumn cterm=reverse ctermbg=red ctermfg=white guibg=#fcaf3e guifg=black