Updated vim and /eg files

This commit is contained in:
Randy Jordan 2024-11-03 15:47:34 -06:00
parent 190613d387
commit 5902e367aa
Signed by: Randy-Jordan
GPG Key ID: D57FA29E3B54663E

11
.vimrc
View File

@ -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--------------------------------------------{{{