Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

within-line for B, E, W, gE #354

Open
yangmillstheory opened this Issue Nov 5, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@yangmillstheory
Copy link

yangmillstheory commented Nov 5, 2017

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. (easymotion-sl), (easymotion-bd-wl), etc...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.