4 ms·
+1, I can salvage some level of text editing functionality with a black-box incantation of bash settings, but it never feels perfect and half of the shortcuts s
by yunohn 5y ago
+1, I can salvage some level of text editing functionality with a black-box incantation of bash settings, but it never feels perfect and half of the shortcuts still fail to work.
Basic stuff - like jumping/selecting words, going to the start/end of the line, anything really - needs configuration. Even worse, half of it breaks when I ssh into another machine.
- eddieh 5y agoAt the shell prompt type Ctrl-X Ctrl-E to edit in your $EDITOR
- yunohn 5y agoThat’s already more effort than not needing to do anything, because the terminal isn’t a weirdo text input relative to my IDE/editor.
- eddieh 5y agoI agree. That’s why I mostly use Eshell in Emacs, but if for some reason I’m in a stand-alone terminal emulator and need some advanced editing capabilities ^X ^E saves the day by firing up Emacs on the current input.