Closed emilioziniades closed 9 months ago
Imo the current shortcut on ctrl+k is not all that useful, at least I don't really use it ever. It only exists because it was easy to add when implementing deleting to the left with ctrl+u :) Other than that I just tried to stick to the default readline shortcuts (https://readline.kablamo.org/emacs.html), or at least the ones that would be useful in this context. Ideally shortcuts would be configurable, but not sure if that's not overkill.
This PR maps
ctrl-k
andctrl-j
to up and down respectively, bringing it into line with fzf.Unfortunately, this overwrites the existing behaviour:
ctrl-j
was equivalent to hitting enterctrl-k
deleted all characters after the cursor in the search bar.I'm open to suggestions as to which keys these should be mapped to - I didn't want to just pick random ones.
Closes #74