easymotion.vim 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. " let g:EasyMotion_do_mapping = 0 " Disable default mappings
  2. " " Turn on case-insensitive feature
  3. " let g:EasyMotion_smartcase = 1
  4. " " JK motions: Line motions
  5. " map <Leader>j <Plug>(easymotion-j)
  6. " map <Leader>k <Plug>(easymotion-k)
  7. " nmap s <Plug>(easymotion-s2)
  8. " nmap t <Plug>(easymotion-t2)
  9. " TODO add separate section for vscode
  10. " map <Leader>f <Plug>(easymotion-bd-f)
  11. " nmap <Leader>f <Plug>(easymotion-overwin-f)
  12. " s{char}{char} to move to {char}{char}
  13. nmap s <Plug>(easymotion-overwin-f2)
  14. " nmap S <Plug>(easymotion-overwin-t)
  15. " Move to line
  16. map <Leader>l <Plug>(easymotion-bd-jk)
  17. nmap <Leader>l <Plug>(easymotion-overwin-line)
  18. " Move to word
  19. map <Leader>w <Plug>(easymotion-bd-w)
  20. nmap <Leader>w <Plug>(easymotion-overwin-w)
  21. hi link EasyMotionTarget ErrorMsg
  22. hi link EasyMotionShade Comment
  23. hi link EasyMotionTarget2First MatchParen
  24. hi link EasyMotionTarget2Second MatchParen
  25. hi link EasyMotionMoveHL Search
  26. hi link EasyMotionIncSearch Search
  27. "Lower case finds upper & lower case but upper case only finds upper case
  28. let g:EasyMotion_smartcase = 1