LunarVim/plug-config/easymotion.vim

40 lines
1.1 KiB
VimL
Raw Normal View History

2020-05-04 04:00:46 +02:00
" let g:EasyMotion_do_mapping = 0 " Disable default mappings
" " 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)
" nmap s <Plug>(easymotion-s2)
" nmap t <Plug>(easymotion-t2)
" TODO add separate section for vscode
" map <Leader>f <Plug>(easymotion-bd-f)
" nmap <Leader>f <Plug>(easymotion-overwin-f)
2020-04-28 19:13:46 +02:00
2020-05-04 04:00:46 +02:00
" s{char}{char} to move to {char}{char}
nmap s <Plug>(easymotion-overwin-f2)
" nmap S <Plug>(easymotion-overwin-t)
2020-04-29 05:34:21 +02:00
2020-05-04 04:00:46 +02:00
" Move to line
" map <Leader>l <Plug>(easymotion-bd-jk)
" nmap <Leader>l <Plug>(easymotion-overwin-line)
2020-04-29 05:34:21 +02:00
" " Move to word
" map <Leader>w <Plug>(easymotion-bd-w)
" nmap <Leader>w <Plug>(easymotion-overwin-w)
2020-05-04 04:00:46 +02:00
" hi link EasyMotionTarget ErrorMsg
" hi link EasyMotionShade Comment
2020-05-04 04:00:46 +02:00
" hi link EasyMotionTarget2First MatchParen
" hi link EasyMotionTarget2Second MatchParen
2020-05-04 04:00:46 +02:00
" hi link EasyMotionMoveHL Search
" hi link EasyMotionIncSearch Search
2020-05-04 04:00:46 +02:00
"Lower case finds upper & lower case but upper case only finds upper case
let g:EasyMotion_smartcase = 1