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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a number of situations where I've performed a motion and wanted to jump back to the previous cursor/selection, but noticed helix does not automatically create a jumplist entry, such as:
n/N
g. (though other g motions like gd do)
Any "unimpaired" [] motion
Any m motion
I could remap every single one of these to prepend "save_selection", but that feels unweildy for the "unimpaired" motions, and I'm not sure it's possible at all for m, at least for matching arbitrary pairs. I did see #2930 specifically regarding search, but is there a better way to approach this in general?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
There's a number of situations where I've performed a motion and wanted to jump back to the previous cursor/selection, but noticed helix does not automatically create a jumplist entry, such as:
n
/N
g.
(though otherg
motions likegd
do)[]
motionm
motionI could remap every single one of these to prepend "save_selection", but that feels unweildy for the "unimpaired" motions, and I'm not sure it's possible at all for
m
, at least for matching arbitrary pairs. I did see #2930 specifically regarding search, but is there a better way to approach this in general?Beta Was this translation helpful? Give feedback.
All reactions