diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 0c935d1..b9d9006 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -437,3 +437,26 @@ if !empty(glob($EditorDir.'plugged/vim-ripgrep/plugin/vim-ripgrep.vim')) endif endfunction endif + + +"--------------------------------------------------------------------------------------------------------> +" Easymotion Plugin +"--------------------------------------------------------------------------------------------------------> +if !empty(glob($EditorDir.'plugged/vim-easymotion/plugin/EasyMotion.vim')) + hi link EasyMotionTarget ErrorMsg + hi link EasyMotionTarget2First ErrorMsg + hi link EasyMotionTarget2Second ErrorMsg + hi link EasyMotionShade Comment + hi EasyMotionTarget ctermbg=none ctermfg=1 cterm=bold + "let g:EasyMotion_do_shade = 0 + nnoremap \ <NOP> + map <Leader> <Plug>(easymotion-prefix) + map <Leader>r <Plug>(easymotion-repeat) + nmap s <Plug>(easymotion-repeat) + let g:EasyMotion_startofline = 0 " keep cursor colum when JK motion + map / <Plug>(easymotion-sn) + omap / <Plug>(easymotion-tn) + map n <Plug>(easymotion-next) + map N <Plug>(easymotion-prev) +endif +"--------------------------------------------------------------------------------------------------------> |