diff --git a/dot_vim/vimrc b/dot_vim/vimrc index d704273..6891d0e 100644 --- a/dot_vim/vimrc +++ b/dot_vim/vimrc @@ -142,20 +142,6 @@ syntax on " Enable syntax highlighting match ErrorMsg '\s\+$' " Highlight spaces (makes it obvious when trailing) - " Theme - PaperColor - let g:PaperColor_Theme_Options = { - \ 'theme': { - \ 'default.dark': { - \ 'override' : { - \ 'folded_fg' : ['#34FB42', ''], - \ 'folded_bg' : ['#686868', ''], - \ } - \ } - \ } - \ } - "\ 'folded_fg' : ['#3B1317', ''], - " 'folded_bg' : ['#009494', ''], - colorscheme gruvbox set background=dark set cul " Highlight the current line @@ -272,9 +258,6 @@ nmap t :tabn " Next tab nmap T :tabp " Previous tab nmap w w " Cycle through splits - nnoremap j :%!python -m json.tool " Pretty print json - - cmap w!! w !sudo tee % >/dev/null " When you forget to sudo first " Display all occurences of word under cursor and allow quick navigation nmap ff [I:let nr = input("Which one: ")exe "normal " . nr ."[\t" @@ -282,11 +265,5 @@ " Wrap line and word with delimiter (follow with [ similar delimiter) nmap d yss nmap D ysiw - " Wrap selection with delimiter - xmap d S -" 06 - Auto Commands - autocmd BufNewFile,BufRead *.markdown,*.md set filetype=markdown - autocmd BufRead,BufNewFile *.go setfiletype go - - "autocmd CursorMoved * exe printf('match IncSearch /\V\<%s\>/', escape(expand(''), '/\')) " highlight all occurences of word under cursor (* does this as well) + nnoremap j :%!python -m json.tool " Pretty print json