3 ms·
Or even just bind it to ctrl-e in bash: bind '\C-e: edit-and-execute-command'
by oalders 2y ago
Or even just bind it to ctrl-e in bash:
bind '\C-e: edit-and-execute-command'
- kragen 2y agothat sounds horrific. every time you tried to go to the end of the line you'd get interrupted by launching an editor!
- dgfitz 2y agoI always just use the home and end buttons for that kind of thing.
- kragen 2y agoi don't even know where they are without looking at the keyboard. then when i try to press them half the time i accidentally press insert or print-screen instead
- oalders 2y agoI have `set -o vi` so, `esc` and `$` takes me to the end of the line. `ctrl-e` is unused for me unless I bind it to something I think is useful.