easymotion.vim 1.2 KB

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