diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 1325a93..b134171 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -40,6 +40,12 @@ Plug 'christoomey/vim-tmux-navigator' " automatically switch between relative and absolute numbers as buffers move " into / out of focus (requires number & relativenumber to be set) Plug 'jeffkreeftmeijer/vim-numbertoggle' +" Plug 'liuchengxu/vim-which-key', { 'on': ['WhichKey', 'WhichKey!'] } -> +" instructions: http://liuchengxu.org/vim-which-key/, needs setup tp become +" useful. TODO enable when setup is more settled down +" sneak around your files using +Plug 'justinmk/vim-sneak' + " " editing Workflow Plug 'tpope/vim-commentary' " easily toggle comments for lines, paragraphs etc with gc @@ -128,6 +134,14 @@ endif " PLUGIN CONFIGURATION {{{ " ================================================================================ +" PLUGIN: vim-sneak +map f Sneak_f +map F Sneak_F +map t Sneak_t +map T Sneak_T +let g:sneak#s_next = 1 +let g:sneak#use_ic_scs = 1 + " PLUGIN: NERDTree " highlight the line the cursor is on let NERDTreeHighlightCursorline = 1