diff --git a/init.vim b/init.vim index 438f617..d80c520 100644 --- a/init.vim +++ b/init.vim @@ -329,23 +329,11 @@ set conceallevel=0 "----------------------------------------------------------------------------}}} " #mappings {{{ let g:mapleader = ' ' -" image capable file browser -nnoremap rs :!VIMRUNTIME= st -t WM_FORCE_FULLSCREEN ranger -" search and replace {{{ -nnoremap rr :%s/\<=expand('')\>//g -"}}} -" #syntax -nnoremap s :syntax on -nnoremap S :syntax off " miscallaneous {{{ -nnoremap fc :set foldcolumn= nnoremap l :colorscheme paper-custom -nnoremap c :call ToggleHighlights() nnoremap d :colorscheme monotonous-dark nnoremap 0 ^ nnoremap cs :let @/="" -nnoremap : :setlocal number: -nnoremap rc :so $MYVIMRC nnoremap nh (&hls && v:hlsearch ? ':nohls' : ':set hls')."\n" " Focus on current fold, close the rest nnoremap zz zMzvzt @@ -354,20 +342,6 @@ tnoremap " open quickfix window of TODOs nnoremap td :grep -RE '(TODO\\|FIXME)' .:botright cwindow:echo len(getqflist()) 'TODOs' " sync highlighting from start -nnoremap ss :syntax sync fromstart - -"}}} -" git mappings {{{ -nnoremap ga :!clear; git add %; git status -nnoremap gg :!clear; git add %; git commit -m '' -nnoremap gs :!VIMRUNTIME= st -t WM_FORCE_FLOATING -g 230x62 tig status - -"}}} -" movement/navigation{{{ -" alias for :tjump -nnoremap tj g -" alias for :ptjump -nnoremap tp g} "}}} " location list and quickfix mappings {{{ @@ -389,21 +363,8 @@ nnoremap qn :cnewer "}}} " insert mode mappings {{{ -inoremap jj; A; -inoremap jj, A, inoremap jjrg :reg -inoremap :w :w -inoremap [:w :w -inoremap {:w :w -nnoremap ''; ''; -"}}} -" working_with_underscores{{{ -nnoremap w f_l -nnoremap b hT_ -nnoremap e lt_ -onoremap u t_ -onoremap U f_ "}}} "----------------------------------------------------------------------------}}} " #abbreviations {{{