在vim中添加perl注釋時無法對齊問題的解決方法
更新時間:2013年02月05日 14:18:41 作者:
在使用vim編輯perl腳本時,每當(dāng)輸入#號時,#號都會跑到行首問題,需要的朋友可以參考下
在.vimrc中加入如下幾行,即可解決這個問題。
"Only do this part when compiled with support for autocommands.
if has("autocmd")
filetype plugin indent on
else
set autoindent
endif "has("autocmd")
復(fù)制代碼 代碼如下:
"Only do this part when compiled with support for autocommands.
if has("autocmd")
filetype plugin indent on
else
set autoindent
endif "has("autocmd")
相關(guān)文章
使用perl清理電腦上重復(fù)文件實現(xiàn)代碼(續(xù))
使有perl搜索電腦上的重復(fù)文件并刪除,需要的朋友可以參考下2013-02-02

