Remove easymotion-S

easymotion-S is same as easymotion-bd-w
This commit is contained in:
haya14busa 2014-01-31 17:06:36 +09:00
parent 5b2b33f36e
commit 38878f0a6e
3 changed files with 6 additions and 16 deletions

View File

@ -111,8 +111,6 @@ Note: The default leader has been changed to <Leader><Leader> to avoid
<Leader>N | Jump to latest "/" or "?" backward. See |N|.
<Leader>s | Find(Search) {char} forward and backward.
| See |f| and |F|.
<Leader>S | Beginning of word forward and backward.
| See |w| and |b|.
See |easymotion-leader-key| and |mapleader| for details about the leader key.
See |easymotion-custom-mappings| for customizing the default mappings.
@ -138,7 +136,6 @@ EasyMotion <Plug> table *easymotion-plug-table*
<Plug>(easymotion-n) | <Leader>n
<Plug>(easymotion-N) | <Leader>N
<Plug>(easymotion-s) | <Leader>s
<Plug>(easymotion-S) | <Leader>S
More <Plug> Mapping Table | (No assignment by default)
----------------------------------|---------------------------------

View File

@ -198,16 +198,12 @@ call s:find_motion_map_helper({
" -- Word Motion {{{
" Word: {{{
noremap <silent><Plug>(easymotion-w) :<C-u>call EasyMotion#WB(0,0)<CR>
xnoremap <silent><Plug>(easymotion-w) <Esc>:<C-u>call EasyMotion#WB(1,0)<CR>
noremap <silent><Plug>(easymotion-b) :<C-u>call EasyMotion#WB(0,1)<CR>
xnoremap <silent><Plug>(easymotion-b) <Esc>:<C-u>call EasyMotion#WB(1,1)<CR>
" backward compatibility
noremap <silent><Plug>(easymotion-S) :<C-u>call EasyMotion#WB(0,2)<CR>
xnoremap <silent><Plug>(easymotion-S) <Esc>:<C-u>call EasyMotion#WB(1,2)<CR>
noremap <silent><Plug>(easymotion-bd-w) :<C-u>call EasyMotion#WB(0,2)<CR>
xnoremap <silent><Plug>(easymotion-bd-w) <Esc>:<C-u>call EasyMotion#WB(1,2)<CR>
noremap <silent><Plug>(easymotion-w) :<C-u>call EasyMotion#WB(0,0)<CR>
xnoremap <silent><Plug>(easymotion-w) <Esc>:<C-u>call EasyMotion#WB(1,0)<CR>
noremap <silent><Plug>(easymotion-b) :<C-u>call EasyMotion#WB(0,1)<CR>
xnoremap <silent><Plug>(easymotion-b) <Esc>:<C-u>call EasyMotion#WB(1,1)<CR>
noremap <silent><Plug>(easymotion-bd-w) :<C-u>call EasyMotion#WB(0,2)<CR>
xnoremap <silent><Plug>(easymotion-bd-w) <Esc>:<C-u>call EasyMotion#WB(1,2)<CR>
"}}}
" WORD: {{{

View File

@ -204,9 +204,6 @@ describe 'Default settings'
Expect maparg('<Plug>(easymotion-bd-w)', 'n') ==# ':<C-U>call EasyMotion#WB(0,2)<CR>'
Expect maparg('<Plug>(easymotion-bd-w)', 'o') ==# ':<C-U>call EasyMotion#WB(0,2)<CR>'
Expect maparg('<Plug>(easymotion-bd-w)', 'v') ==# '<Esc>:<C-U>call EasyMotion#WB(1,2)<CR>'
Expect maparg('<Plug>(easymotion-S)', 'n') ==# ':<C-U>call EasyMotion#WB(0,2)<CR>'
Expect maparg('<Plug>(easymotion-S)', 'o') ==# ':<C-U>call EasyMotion#WB(0,2)<CR>'
Expect maparg('<Plug>(easymotion-S)', 'v') ==# '<Esc>:<C-U>call EasyMotion#WB(1,2)<CR>'
" }}}
" WORD Motion: {{{