3 ms·
Didn't know about that. I'm using default shell shortcuts, which are different set of shortcuts. Like: * Ctrl-u: clear line and start from the beginning * Ctrl
by ilvez 4y ago
Didn't know about that. I'm using default shell shortcuts, which are different set of shortcuts. Like:
* Ctrl-u: clear line and start from the beginning
* Ctrl-a: go to the beginning of line
* Ctrl-e: go to the end of line
* Ctrl-b: move backwards
* Ctrl-f: move forwards
* Ctrl-c: leave the command as it is, just cancel the command and start with new line
* Ctrl-w: delete a word before cursor
* Ctrl-h: delete a character before before cursor
* Ctrl-d: delete a character after cursor
* Ctrl-t: swap last 2 characters (this is one of my favourites in terms of lulz, I actually trained myself to use it :D)
* ...
Pulled these out of my fingers, but there are more. Don't know the correct source to point to.
What's good about those is that they work by default and behind every computer.
- lovehashbrowns 4y agoThis is where you can find a reference for the default emacs mode: https://catonmat.net/bash-emacs-editing-mode-cheat-sheet https://catonmat.net/bash-emacs-editing-mode-cheat-sheet Unless you’re super into vim, it makes more sense to learn the basic emacs keybinds ‘cause like you said, it’s almost everywhere.