Thursday, December 22, 2011

Coding 懶人法 for gvim

Reference: http://www.vim.org/scripts/script.php?script_id=230

自動新增 Brace, 也就是 {} 方法。
Brace Complete for C/C++ : Adds braces after if, else, while
到此網站下載後放到 /usr/share/vim/vim72
再新增下列到 /etc/vim/gvimrc.local 即可
source $VIMRUNTIME/complete.vim

No comments: