Updated vim and /eg files
This commit is contained in:
parent
190613d387
commit
5902e367aa
11
.vimrc
11
.vimrc
@ -146,19 +146,19 @@ tnoremap <silent> <C-T> <C-w>N:call <SID>ToggleTerminal()<CR>
|
||||
|
||||
"CODE SNIPPETS/TEMPLATES ---------------------------------------------------{{{
|
||||
"HTML SNIPPET/TEMPLATE"
|
||||
nnoremap ,html :-1read $HOME/eg/index.html<CR>:11<CR>
|
||||
nnoremap ,html :-1read $HOME/eg/web/index.html<CR>:11<CR>
|
||||
if has("autocmd")
|
||||
augroup templates
|
||||
autocmd BufNewFile index.html 0r ~/eg/index.html
|
||||
autocmd BufNewFile index.html 0r ~/eg/web/index.html
|
||||
autocmd BufReadPost index.html normal! 10j
|
||||
augroup END
|
||||
endif
|
||||
|
||||
"CSS SNIPPET/TEMPLATE"
|
||||
nnoremap ,css :-1read $HOME/eg/style.css<CR>
|
||||
nnoremap ,css :-1read $HOME/eg/web/style.css<CR>
|
||||
if has("autocmd")
|
||||
augroup templates
|
||||
autocmd BufNewFile style.css 0r ~/eg/style.css
|
||||
autocmd BufNewFile style.css 0r ~/eg/web/style.css
|
||||
augroup END
|
||||
endif
|
||||
|
||||
@ -169,9 +169,6 @@ tnoremap <silent> <C-T> <C-w>N:call <SID>ToggleTerminal()<CR>
|
||||
autocmd BufNewFile README.md 0r ~/eg/README.md
|
||||
augroup END
|
||||
endif
|
||||
|
||||
|
||||
|
||||
"}}}
|
||||
|
||||
" MINIMALIST TAB COMPLETE PLUGIN--------------------------------------------{{{
|
||||
|
Loading…
Reference in New Issue
Block a user