1
0
mirror of https://github.com/jlevy/the-art-of-command-line.git synced 2024-12-14 10:53:03 +02:00

Update README.md

This commit is contained in:
Michael Barlow 2015-06-16 12:13:48 +10:00
parent e867233528
commit f2761fe47c

View File

@ -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.
- 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 -`