Add vim-sneak to nvim, to enable fast traversal
This commit is contained in:
parent
36fc3e7245
commit
d97a76dade
1 changed files with 14 additions and 0 deletions
|
@ -40,6 +40,12 @@ Plug 'christoomey/vim-tmux-navigator'
|
||||||
" automatically switch between relative and absolute numbers as buffers move
|
" automatically switch between relative and absolute numbers as buffers move
|
||||||
" into / out of focus (requires number & relativenumber to be set)
|
" into / out of focus (requires number & relativenumber to be set)
|
||||||
Plug 'jeffkreeftmeijer/vim-numbertoggle'
|
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
|
" " editing Workflow
|
||||||
Plug 'tpope/vim-commentary' " easily toggle comments for lines, paragraphs etc with gc
|
Plug 'tpope/vim-commentary' " easily toggle comments for lines, paragraphs etc with gc
|
||||||
|
@ -128,6 +134,14 @@ endif
|
||||||
" PLUGIN CONFIGURATION {{{
|
" 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
|
" PLUGIN: NERDTree
|
||||||
" highlight the line the cursor is on
|
" highlight the line the cursor is on
|
||||||
let NERDTreeHighlightCursorline = 1
|
let NERDTreeHighlightCursorline = 1
|
||||||
|
|
Loading…
Reference in a new issue