Skip to content

Instantly share code, notes, and snippets.

@haya14busa
Created November 28, 2013 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haya14busa/7690625 to your computer and use it in GitHub Desktop.
Save haya14busa/7690625 to your computer and use it in GitHub Desktop.
NeoBundle 'haya14busa/vim-eazymotion'
" vim-eazymotion {{{
" デフォルトだと<Leader><Leadr>となってるprefixキーを変更
let g:EasyMotion_leader_key = ';'
" 候補選択: 候補が最初から2キー表示されるので大文字や打ちにくい文字は全面的に消す
" なお、最後の数文字が2キーの時の最初のキーになるので打ちやすいものを選ぶとよさそうです。
let g:EasyMotion_keys='hklyuiopnm,qwertzxcvbasdgjf;'
" 拡張版機能"{{{
" もっともよく使うであろう'<Leadr><Leader>s'motion をsに割り当て
nmap s <Plug>(easymotion-s)
vmap s <Plug>(easymotion-s)
omap z <Plug>(easymotion-s) " surround.vimとかぶるのでz
" keep cursor column
let g:EasyMotion_startofline = 0
" smartcase
let g:EasyMotion_smartcase = 1
" Migemo
let g:EasyMotion_use_migemo = 1
"}}}
"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment