1
0
mirror of https://github.com/amix/vimrc synced 2025-07-12 14:15:00 +08:00

changed easymotion mappings

This commit is contained in:
Caleb Taylor
2019-08-08 05:29:33 -07:00
parent 1fde665ede
commit d9a59e83c7
3 changed files with 4 additions and 32 deletions

View File

@ -78,23 +78,9 @@ set grepprg=/bin/grep\ -nH
" => EasyMotion
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
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)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Nerd Tree
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""