" ----------------------------------------------------------- " easy-motion " smartcase let g:EasyMotion_smartcase = 1 " デフォルトだととなってるprefixキーを変更 " 候補選択: 候補が最初から2キー表示されるので大文字や打ちにくい文字は全面的に消す " なお、最後の数文字が2キーの時の最初のキーになるので打ちやすいものを選ぶとよさそうです。 let g:EasyMotion_keys='hklyuiopnm,qwertzxcvbasdgjf;' " Migemo let g:EasyMotion_use_migemo = 1 " Jump to first with enter & space let g:EasyMotion_enter_jump_first = 1 let g:EasyMotion_space_jump_first = 1 " Prompt let g:EasyMotion_prompt = '{n}> ' " Highlight cursor let g:EasyMotion_cursor_highlight = 1 let g:EasyMotion_do_mapping = 0 " s{char}{char} to move to {char}{char} nmap Sw (easymotion-overwin-f2) " vmap s (easymotion-bd-f2) " " imap (easymotion-overwin-f2) " " " " search & EasyMotion " nmap g; (easymotion-sn) " xmap g; (easymotion-sn) " omap g; (easymotion-tn) " " " surround.vimと被らないように " omap z (easymotion-s2) " " " ======================================= " " Line Motions " " ======================================= " let g:EasyMotion_startofline = 0 " " map J (easymotion-sol-j) " " map K (easymotion-sol-k) " " " vim-edgemotion " nmap (edgemotion-j) " nmap (edgemotion-k) " "