diff --git a/init.plugins.vim b/init.plugins.vim index 5290d20..458c0d4 100644 --- a/init.plugins.vim +++ b/init.plugins.vim @@ -7,11 +7,11 @@ call plug#begin('~/.config/nvim/bundle') " #vim-hexokinase {{{ " https://github.com/RRethy/vim-hexokinase - Plug 'RRethy/vim-hexokinase', { 'do': 'make hexokinase' } - let g:Hexokinase_highlighters = ['virtual'] - let g:Hexokinase_virtualText = '██████' - nnoremap cc :HexokinaseToggle - nnoremap cr :HexokinaseRefresh + " Plug 'RRethy/vim-hexokinase', { 'do': 'make hexokinase' } + " let g:Hexokinase_highlighters = ['virtual'] + " let g:Hexokinase_virtualText = '██████' + " nnoremap cc :HexokinaseToggle + " nnoremap cr :HexokinaseRefresh "}}} @@ -101,17 +101,6 @@ call plug#begin('~/.config/nvim/bundle') \ 'indentation': ' ', \} - "}}} -" #vim-fugitive{{{ - " https://github.com/tpope/vim-fugitive/blob/master/README.markdown - Plug 'tpope/vim-fugitive' - nnoremap gs :Gstatus - nnoremap gd :tabedit %:Gdiff - nnoremap gc :Gcommit - nnoremap gl :Glog - nnoremap gp :Gpush:copen - nnoremap gp :Gpushjob:copen - "}}} " #gitgutter {{{ " https://github.com/airblade/vim-gitgutter/blob/master/README.mkd diff --git a/init.vim b/init.vim index 2e56579..531770b 100644 --- a/init.vim +++ b/init.vim @@ -299,8 +299,10 @@ 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 +nnoremap rr :%s/\<=expand('')\>//g "}}} " #syntax nnoremap s :syntax on @@ -342,21 +344,19 @@ nnoremap ss :syntax sync fromstart "}}} " terminal{{{ -if has('terminal') - tnoremap -endif +" if has('terminal') +" tnoremap +" endif "}}} " windows{{{ nnoremap ww :resize:vertical resize " }}} " git mappings {{{ -" also see vim-fugitive plugin section nnoremap gD :!clear; echo 'git diff'; git diff nnoremap ga :!clear; git add %; git status -nnoremap gA :!clear; git add .; git status nnoremap gg :!clear; git add %; git commit -m '' -nnoremap gP :!clear; echo 'git push'; git push +nnoremap gs :!VIMRUNTIME= st -t WM_FORCE_FLOATING -g 230x62 tig status "}}} " movement/navigation{{{