Created
November 28, 2013 11:43
-
-
Save haya14busa/7690625 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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