diff options
Diffstat (limited to 'plug-config')
-rw-r--r-- | plug-config/easymotion.vim | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/plug-config/easymotion.vim b/plug-config/easymotion.vim new file mode 100644 index 00000000..58f1ed72 --- /dev/null +++ b/plug-config/easymotion.vim @@ -0,0 +1,16 @@ +let g:EasyMotion_do_mapping = 0 " Disable default mappings + +" Jump to anywhere you want with minimal keystrokes, with just one key binding. +" `s{char}{label}` +nmap s <Plug>(easymotion-overwin-f) +" or +" `s{char}{char}{label}` +" Need one more keystroke, but on average, it may be more comfortable. +nmap s <Plug>(easymotion-overwin-f2) + +" Turn on case-insensitive feature +let g:EasyMotion_smartcase = 1 + +" JK motions: Line motions +map <Leader>j <Plug>(easymotion-j) +map <Leader>k <Plug>(easymotion-k) |