Closed haolian9 closed 1 year ago
Hm, I don’t quite understand the need honestly. Can you give an example?
that's the result i desired when i pressed sj
.
Oh okay, so basically you want a way to discard the current line. Yeah we could merge something like that, indeed. Feel free to open a PR.
the
*_LINE
i mentioned means when determing the line region for targets, dont consider the current line. there are HintDirection.{BEFORE,AFTER}_CURSOR already, but they does not suffice my need perfectly.in my use, i have three keymaps (listed above) for cursor movement, so when i pressed the rhs, i know where to find my targets.
the problem is that when i pressed
sj
orsk
with the{BEFORE,AFTER}_CURSOR
, Hop will allocate some marks for the current line, i'd like to avoid that.so do you think it's worth to have those two directions?
(i have scratched a commit to add them, it does bring in more complexity)