mirror of
https://git.qwik.space/left4code/Dotfiles.git
synced 2025-07-28 00:12:31 +05:30
updated vimrc
This commit is contained in:
12
vim/vimrc
12
vim/vimrc
@@ -30,6 +30,18 @@ autocmd FileType html inoremap ;;h <h><++></h<++>><Enter><Enter><++><Esc>2kbi
|
||||
autocmd FileType html inoremap ;ll <a href="<++>"><++></a> <++><Esc>0
|
||||
"bold ta"
|
||||
autocmd FileType html inoremap ;b <b></b> <++><Esc>4ba
|
||||
"para code tag for when you need to list something from code block"
|
||||
autocmd FileType html inoremap ;-c <code></code> <++><Esc>4ba
|
||||
"table tag"
|
||||
autocmd FileType html inoremap ;tb <table><CR><CR></table><Esc>ki
|
||||
"th tag"
|
||||
autocmd FileType html inoremap ;th <th></th> <CR><++><Esc>ka
|
||||
"tr tag"
|
||||
autocmd FileType html inoremap ;tr <tr><CR><CR></tr><CR><++><ESC>2ki
|
||||
"td tag"
|
||||
autocmd FileType html inoremap ;td <td class="" id="<++>"><++></td><CR><++><Esc>k/"<CR>a
|
||||
"empty td tag for links"
|
||||
autocmd FileType html inoremap ;tl <td></td><Esc>2ba
|
||||
"<> tag"
|
||||
autocmd FileType html inoremap ;<> <> <++><Esc>4ba
|
||||
"TOC_add_bigheader"
|
||||
|
Reference in New Issue
Block a user