Work on autocommands
This commit is contained in:
parent
f33bf5a23a
commit
0826a5065e
1 changed files with 3 additions and 4 deletions
7
.vimrc
7
.vimrc
|
@ -177,11 +177,10 @@ augroup END
|
||||||
"
|
"
|
||||||
augroup new_html
|
augroup new_html
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd BufNew *.html execute "read ~/Templates/html"
|
autocmd BufNew *.html read ~/Templates/html
|
||||||
autocmd BufNew *.html execute "normal! ggdd"
|
autocmd BufNew *.html normal! ggdd
|
||||||
autocmd BufNew *.html execute NextMark()
|
"autocmd BufNew *.html call NextMark()
|
||||||
autocmd BufNew *.html setlocal filetype=html
|
autocmd BufNew *.html setlocal filetype=html
|
||||||
|
|
||||||
augroup END
|
augroup END
|
||||||
"
|
"
|
||||||
augroup file_vim
|
augroup file_vim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue