Add vim-sneak to nvim, to enable fast traversal

This commit is contained in:
Marty Oehme 2019-11-18 22:55:15 +01:00
parent 36fc3e7245
commit d97a76dade

View file

@ -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 <Plug>Sneak_f
map F <Plug>Sneak_F
map t <Plug>Sneak_t
map T <Plug>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