Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 06d298f

Browse files
committed
Update .vimrc
1 parent beb7971 commit 06d298f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.vimrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ nmap tt :%s/\t/ /g<CR>
111111
"""""新文件标题
112112
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
113113
"新建.c,.h,.sh,.java文件,自动插入文件头
114-
autocmd BufNewFile *.cpp,*.c,*.sh,*.rb,*.java,*.py exec ":call SetTitle()"
114+
autocmd BufNewFile *.cpp,*.[ch],*.sh,*.rb,*.java,*.py exec ":call SetTitle()"
115115
""定义函数SetTitle,自动插入文件头
116116
func SetTitle()
117117
"如果文件类型为.sh文件

0 commit comments

Comments
 (0)