hadronized / hop.nvim

Neovim motions on speed!
Other
2.47k stars 137 forks source link

How to distribute the key sequence line by line, instead of the distance from cursor? #347

Open sunn4room opened 1 year ago

sunn4room commented 1 year ago

I'm used to use easymotion in macro, but the key sequence distribution confuse me.

example:

xxxxxxxxxxxxxxxxx-yyy
xx-yy
xxxxxx-yyyy
xxxxxxxxxxxxxxxxxx-y

I want to delete characters before '-'. NOW I map the easymotion to 'f', and make a macro with keys 'qa0vf-ad', and use this macro to each line. expect:

yyy
yy
yyyy
y