Rename <Plug>(easymotion-previous) to <Plug>(easymotion-prev)

This commit is contained in:
haya14busa 2014-01-16 23:37:47 +09:00
parent 7c2ed49d3a
commit c9be21f414
3 changed files with 9 additions and 9 deletions

View File

@ -259,7 +259,7 @@ Repeat ~
characters.
<Plug>(easymotion-next) *<Plug>(easymotion-next)*
<Plug>(easymotion-previous) *<Plug>(easymotion-previous)*
<Plug>(easymotion-prev) *<Plug>(easymotion-prev)*
Jump to next/previous much. Only this motion can be move to offscrren
match. This motion wrap around the end of the file if you set
@ -268,7 +268,7 @@ Repeat ~
Example:
>
nmap <Leader>; <Plug>(easymotion-next)
nmap <Leader>, <Plug>(easymotion-previous)
nmap <Leader>, <Plug>(easymotion-prev)
<
EasyMotion dot repeat~

View File

@ -256,9 +256,9 @@ noremap <silent><Plug>(easymotion-next)
xnoremap <silent><Plug>(easymotion-next)
\ <Esc>:<C-u>call EasyMotion#NextPrevious(1,0)<CR>
noremap <silent><Plug>(easymotion-previous)
noremap <silent><Plug>(easymotion-prev)
\ :<C-u>call EasyMotion#NextPrevious(0,1)<CR>
xnoremap <silent><Plug>(easymotion-previous)
xnoremap <silent><Plug>(easymotion-prev)
\ <Esc>:<C-u>call EasyMotion#NextPrevious(1,1)<CR>
"}}}

View File

@ -299,11 +299,11 @@ describe 'Default settings'
Expect maparg('<Plug>(easymotion-next)', 'v')
\ ==# '<Esc>:<C-U>call EasyMotion#NextPrevious(1,0)<CR>'
Expect maparg('<Plug>(easymotion-previous)', 'n')
Expect maparg('<Plug>(easymotion-prev)', 'n')
\ ==# ':<C-U>call EasyMotion#NextPrevious(0,1)<CR>'
Expect maparg('<Plug>(easymotion-previous)', 'o')
Expect maparg('<Plug>(easymotion-prev)', 'o')
\ ==# ':<C-U>call EasyMotion#NextPrevious(0,1)<CR>'
Expect maparg('<Plug>(easymotion-previous)', 'v')
Expect maparg('<Plug>(easymotion-prev)', 'v')
\ ==# '<Esc>:<C-U>call EasyMotion#NextPrevious(1,1)<CR>'
" }}}
@ -965,13 +965,13 @@ end
"}}}
" Next & Previous {{{
describe '<Plug>(easymotion-next) & <Plug>(easymotion-previous)'
describe '<Plug>(easymotion-next) & <Plug>(easymotion-prev)'
before
new
let g:EasyMotion_keys = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
map s <Plug>(easymotion-s)
map ; <Plug>(easymotion-next)
map , <Plug>(easymotion-previous)
map , <Plug>(easymotion-prev)
set wrapscan
call EasyMotion#init()
call AddLine('poge huga hiyo poyo')