if has("syntax") syntax on endif "allows numbers to show up on the side" set number set hlsearch "sets specific syntax depending on file's name" filetype plugin on "jump marker" noremap /<++>"_c4l "---HTML autofunctions!---" "normal para" autocmd FileType html inoremap ;p

<++>2ki "Code class" autocmd FileType html inoremap ;c
<++>2k0i "header tag (dont forget you can make these each their own option if you want)" autocmd FileType html inoremap ;h <++>><++>2k$2Bhi "header tag subclass" autocmd FileType html inoremap ;sh <++>><++>2k$2Bhi "header non blog class" autocmd FileType html inoremap ;;h <++>><++>2kbi "normal link" autocmd FileType html inoremap ;ll <++> <++>0 "bold ta" autocmd FileType html inoremap ;b <++>4ba "para code tag for when you need to list something from code block" autocmd FileType html inoremap ;-c <++>4ba "table tag" autocmd FileType html inoremap ;tb
ki "th tag" autocmd FileType html inoremap ;th <++>ka "tr tag" autocmd FileType html inoremap ;tr <++>2ki "td tag" autocmd FileType html inoremap ;td <++><++>k/"a "empty td tag for links" autocmd FileType html inoremap ;tl 2ba "<> tag" autocmd FileType html inoremap ;<> <> <++>4ba "TOC_add_bigheader" autocmd FileType html noremap ;T />([0-9]a~2l"by/)/>l"ty/<A%^%/>()a~l"bp/>"tp/%^%d3l/>([0-9]h "new list item" autocmd FileType html inoremap ;lh
  • "new sublist item" autocmd FileType html inoremap ;ls
  • "ul item" autocmd FileType html inoremap ;ul
    k "TOC_add_subheader" autocmd FileType html noremap ;sT />{[0-9]a~2l"by/}/>l"ty/<A%^%/>{}a~l"bp/>"tp/%^%d3l/>{[0-9]h if filereadable("/etc/vim/vimrc.local") source /etc/vim/vimrc.local endif " Auto-compile and run C++ code map :w:!g++ % -o %< && ./%< " run previous compiled code map :e:!./%< " clear terminal execution map :!clear " Write and run Python file auto map :w:!python3 % " turn off line numbers map :set nonumber " turn on line numbers map : set number