Skip to content

Instantly share code, notes, and snippets.

@jesseerwin
Created April 2, 2020 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesseerwin/58d0d4434e7d4499ac26a84e5bde6672 to your computer and use it in GitHub Desktop.
Save jesseerwin/58d0d4434e7d4499ac26a84e5bde6672 to your computer and use it in GitHub Desktop.
set nu
set nocompatible
filetype plugin on
set autoindent
syntax on
set laststatus=2
set t_Co=256
set tabstop=4
highlight LineNr ctermfg=white
highlight link htmlTagName htmlTag
hi Normal guibg=NONE ctermbg=NONE
call plug#begin()
Plug 'itchyny/lightline.vim/'
Plug 'farmergreg/vim-lastplace/'
call plug#end()
let g:lightline = {
\ 'colorscheme': 'wombat',
\ }
autocmd Filetype html inoremap <Space><Space> <Esc>/<++><Enter>"_c4l
autocmd FileType html inoremap ,p <p></p><Enter><Enter><++><Esc>02kf>a
autocmd FileType html inoremap ,a <a<Space>href=""><++></a><Space><++><Esc>14hi
autocmd FileType html inoremap ,1 <h1></h1><Enter><Enter><++><Esc>2kf<i
autocmd FileType html inoremap ,2 <h2></h2><Enter><Enter><++><Esc>2kf<i
autocmd FileType html inoremap ,3 <h3></h3><Enter><Enter><++><Esc>2kf<i
autocmd FileType html inoremap ,b <b></b><Space><++><Esc>FbT>i
autocmd FileType html inoremap ,it <em></em><Space><++><Esc>FeT>i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment