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 ---------------------------------------------------{{{
|
"CODE SNIPPETS/TEMPLATES ---------------------------------------------------{{{
|
||||||
"HTML SNIPPET/TEMPLATE"
|
"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")
|
if has("autocmd")
|
||||||
augroup templates
|
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
|
autocmd BufReadPost index.html normal! 10j
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"CSS SNIPPET/TEMPLATE"
|
"CSS SNIPPET/TEMPLATE"
|
||||||
nnoremap ,css :-1read $HOME/eg/style.css<CR>
|
nnoremap ,css :-1read $HOME/eg/web/style.css<CR>
|
||||||
if has("autocmd")
|
if has("autocmd")
|
||||||
augroup templates
|
augroup templates
|
||||||
autocmd BufNewFile style.css 0r ~/eg/style.css
|
autocmd BufNewFile style.css 0r ~/eg/web/style.css
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -169,9 +169,6 @@ tnoremap <silent> <C-T> <C-w>N:call <SID>ToggleTerminal()<CR>
|
|||||||
autocmd BufNewFile README.md 0r ~/eg/README.md
|
autocmd BufNewFile README.md 0r ~/eg/README.md
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" MINIMALIST TAB COMPLETE PLUGIN--------------------------------------------{{{
|
" MINIMALIST TAB COMPLETE PLUGIN--------------------------------------------{{{
|
||||||
|
Loading…
Reference in New Issue
Block a user