rtv
rtv copied to clipboard
[Request] Add support for common emacs/bash bindings such as Ctrl + W
I use Ctrl + W
to delete a word very often, but it doesn't seem to work in rtv. Not a huge deal, but I thought it would be nice to have, since almost any terminal tool I've used has this behavior (including vim in instert mode).
What command would Ctrl-w be mapped to?
I don't think delete word is an existing command so it would have to be a new one.
I mean what would "delete word" actually do in rtv? The comment editor c already opens an external program, and you can configure it to open emacs or whatever else. The only other place you can enter text is in the prompt / at the bottom of the screen. And in that case, you're not typically entering more than a single word.
I suppose you're right, and that is indeed where I tried to use this keybind, since it's so ingrained in my muscle memory (I still accidentally close tabs in FF trying to delete words).
If the text search feature inside posts was to be implemented, then this would also be handy there.
Feel free to close it if you deem this isn't really useful enough.