diff options
-rw-r--r-- | .vim/after/plugin/easymotion.vim | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/.vim/after/plugin/easymotion.vim b/.vim/after/plugin/easymotion.vim index eb57171..753b871 100644 --- a/.vim/after/plugin/easymotion.vim +++ b/.vim/after/plugin/easymotion.vim @@ -1,18 +1,38 @@ let g:EasyMotion_do_mapping = 0 let g:EasyMotion_smartcase = 1 let g:EasyMotion_smartsign_us = 1 -let g:EasyMotion_startofline = 0 +" let g:EasyMotion_startofline = 0 +map <space>j <Plug>(easymotion-j) nmap <space>j <Plug>(easymotion-j) + +map <space>k <Plug>(easymotion-k) nmap <space>k <Plug>(easymotion-k) + +map <space>l <Plug>(easymotion-lineforward) nmap <space>l <Plug>(easymotion-lineforward) + +map <space>h <Plug>(easymotion-linebackward) nmap <space>h <Plug>(easymotion-linebackward) -nmap <space>f <Plug>(easymotion-bd-f) -nmap <space>s <Plug>(easymotion-bd-f2) +map <space><space> <Plug>(easymotion-bd-jk) +nmap <space><space> <Plug>(easymotion-overwin-line) + +map <space>n <Plug>(easymotion-bd-n) +nmap <space>n <Plug>(easymotion-bd-n) + +map <space>w <Plug>(easymotion-bd-w) +nmap <space>w <Plug>(easymotion-overwin-w) + +map <space>e <Plug>(easymotion-bd-e) +nmap <space>e <Plug>(easymotion-bd-e) + +map <space>f <Plug>(easymotion-bd-f) +nmap <space>f <Plug>(easymotion-overwin-f) + +map <space>s <Plug>(easymotion-bd-f2) +nmap <space>s <Plug>(easymotion-overwin-f2) + nmap <space>/ <Plug>(easymotion-bd-fn) nmap <space>; <Plug>(easymotion-repeat) - -nmap <space>n <Plug>(easymotion-next) -nmap <space>p <Plug>(easymotion-prev) |