Created
July 2, 2015 10:32
-
-
Save NicholasTD07/159cfc915eca718f358e 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
" For Vundle, uncomment next line | |
" Plugin 'Lokaltog/vim-easymotion' | |
" easymotion | |
let g:EasyMotion_smartcase = 1 " turn on case insensitive feature | |
let g:EasyMotion_do_mapping = 0 " disable default mappings | |
let g:EasyMotion_use_smartsign_us = 1 " 1 will match 1 and ! | |
let g:EasyMotion_use_upper = 1 | |
let g:EasyMotion_keys = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ;' | |
let g:EasyMotion_space_jump_first = 1 | |
let g:EasyMotion_enter_jump_first = 1 | |
nmap <leader>g <Plug>(easymotion-bd-w) | |
nmap s <Plug>(easymotion-s2) | |
map t <Plug>(easymotion-bd-t) | |
map f <Plug>(easymotion-bd-f) | |
omap t <Plug>(easymotion-tl) | |
omap f <Plug>(easymotion-fl) | |
" jk motions: line motions | |
map <Leader>j <Plug>(easymotion-j) | |
map <Leader>k <Plug>(easymotion-k) | |
" end of easymotion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment