mirror of
https://github.com/jlevy/the-art-of-command-line.git
synced 2024-12-16 10:59:20 +02:00
Update README.md
This commit is contained in:
parent
e867233528
commit
f2761fe47c
@ -53,7 +53,7 @@ Scope:
|
|||||||
|
|
||||||
- In bash, use **ctrl-w** to delete the last word, and **ctrl-u** to delete the whole line. Use **alt-Left** and **alt-Right** to move by word, and **ctrl-k** to kill to the end of the line. See `man readline` for all the default keybindings in bash. There are a lot. For example **alt-.** cycles through previous arguments, and **alt-*** expands a glob.
|
- In bash, use **ctrl-w** to delete the last word, and **ctrl-u** to delete the whole line. Use **alt-Left** and **alt-Right** to move by word, and **ctrl-k** to kill to the end of the line. See `man readline` for all the default keybindings in bash. There are a lot. For example **alt-.** cycles through previous arguments, and **alt-*** expands a glob.
|
||||||
|
|
||||||
- Alternatively, add `set editing-mode vi` to your `~/.bashrc` to enable vim-keybindings for bash (and any program using GNU readline).
|
- Alternatively, add `set -o vi` to your `~/.bashrc` to enable vim-keybindings for bash.
|
||||||
|
|
||||||
- To go back to the previous working directory: `cd -`
|
- To go back to the previous working directory: `cd -`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user