vim-easymotion icon indicating copy to clipboard operation
vim-easymotion copied to clipboard

within-line for B, E, W, gE

Open yangmillstheory opened this issue 8 years ago • 1 comments

I use the following mappings:

" easymotion
map <leader><leader>s <Plug>(easymotion-sl)
map f <Plug>(easymotion-fl)
map F <Plug>(easymotion-Fl)
map t <Plug>(easymotion-tl)
map T <Plug>(easymotion-Tl)
map b <Plug>(easymotion-bl)
map e <Plug>(easymotion-el)
map w <Plug>(easymotion-wl)
map ge <Plug>(easymotion-gel)
" note that these don't have line mappings;
" see https://github.com/easymotion/vim-easymotion/issues/354
map E <Plug>(easymotion-E)
map B <Plug>(easymotion-B)
map W <Plug>(easymotion-W)
map gE <Plug>(easymotion-gE)

I like the within-line variants as, for example, pressing b on the first word in a line will just go to the beginning of that word instead of displaying matches on previous lines (which is often not what you want). Can we add

  • easymotion-Wl
  • easymotion-El
  • easymotion-Bl
  • easymotion-gEl

According to the README, these should already exist:

Every motion also has variants that are restricted to just the current line (e.g. <Plug>(easymotion-sl), <Plug>(easymotion-bd-wl), etc...).

yangmillstheory avatar Nov 05 '17 03:11 yangmillstheory

Well, we will have to do it ourselves.

eyalk11 avatar Dec 05 '21 00:12 eyalk11