Update minimal configuration example to use overwin motions

This commit is contained in:
haya14busa 2016-01-20 09:09:02 +09:00
parent f6e67b3eee
commit 65cde0b6fe

View File

@ -365,17 +365,16 @@ You should at least change the prefix key like this `map <Leader> <Plug>(easymot
Minimal but useful vimrc example: Minimal but useful vimrc example:
``` ```vim
let g:EasyMotion_do_mapping = 0 " Disable default mappings let g:EasyMotion_do_mapping = 0 " Disable default mappings
" Bi-directional find motion
" Jump to anywhere you want with minimal keystrokes, with just one key binding. " Jump to anywhere you want with minimal keystrokes, with just one key binding.
" `s{char}{label}` " `s{char}{label}`
nmap s <Plug>(easymotion-s) nmap s <Plug>(easymotion-overwin-f)
" or " or
" `s{char}{char}{label}` " `s{char}{char}{label}`
" Need one more keystroke, but on average, it may be more comfortable. " Need one more keystroke, but on average, it may be more comfortable.
nmap s <Plug>(easymotion-s2) nmap s <Plug>(easymotion-overwin-f2)
" Turn on case insensitive feature " Turn on case insensitive feature
let g:EasyMotion_smartcase = 1 let g:EasyMotion_smartcase = 1