aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2021-02-03 10:18:16 -0700
committerCody Hiar <cody@hiar.ca>2021-02-03 10:18:16 -0700
commita4e89aa2e9c4f585380c788319bc034ac1f164f6 (patch)
tree2505e9d765ed00b877f9e1b28c499907d6d350e7 /plugin
parentae0e591163c9e9e5244fe3141a770c98f762ffba (diff)
Keep easy motion but not as default search
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index b9d9006..68b60d8 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -448,15 +448,10 @@ if !empty(glob($EditorDir.'plugged/vim-easymotion/plugin/EasyMotion.vim'))
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)
+ let g:EasyMotion_move_highlight = 0
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)
+ map <leader>s <Plug>(easymotion-sn)
+ omap <leader>s <Plug>(easymotion-tn)
endif
"-------------------------------------------------------------------------------------------------------->