From 926819bc6a156bc909af67d354142fa8e727ea9a Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 3 May 2020 22:00:46 -0400 Subject: configured sneak and quickscope --- plug-config/easymotion.vim | 44 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 8 deletions(-) (limited to 'plug-config/easymotion.vim') diff --git a/plug-config/easymotion.vim b/plug-config/easymotion.vim index 0bab210a..0a94ea7f 100644 --- a/plug-config/easymotion.vim +++ b/plug-config/easymotion.vim @@ -1,11 +1,39 @@ -let g:EasyMotion_do_mapping = 0 " Disable default mappings -" Turn on case-insensitive feature -let g:EasyMotion_smartcase = 1 +" let g:EasyMotion_do_mapping = 0 " Disable default mappings +" " Turn on case-insensitive feature +" let g:EasyMotion_smartcase = 1 + +" " JK motions: Line motions +" map j (easymotion-j) +" map k (easymotion-k) + +" nmap s (easymotion-s2) +" nmap t (easymotion-t2) + +" TODO add separate section for vscode + +" map f (easymotion-bd-f) +" nmap f (easymotion-overwin-f) -" JK motions: Line motions -map j (easymotion-j) -map k (easymotion-k) +" s{char}{char} to move to {char}{char} +nmap s (easymotion-overwin-f2) +" nmap S (easymotion-overwin-t) -nmap s (easymotion-s2) -nmap t (easymotion-t2) +" Move to line +map l (easymotion-bd-jk) +nmap l (easymotion-overwin-line) +" Move to word +map w (easymotion-bd-w) +nmap w (easymotion-overwin-w) + +hi link EasyMotionTarget ErrorMsg +hi link EasyMotionShade Comment + +hi link EasyMotionTarget2First MatchParen +hi link EasyMotionTarget2Second MatchParen + +hi link EasyMotionMoveHL Search +hi link EasyMotionIncSearch Search + +"Lower case finds upper & lower case but upper case only finds upper case +let g:EasyMotion_smartcase = 1 -- cgit v1.2.3