mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-25 01:26:29 +08:00
Update README.md
This commit is contained in:
parent
e867233528
commit
f2761fe47c
1 changed files with 1 additions and 1 deletions
|
@ -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 -`
|
||||
|
||||
|
|
Loading…
Reference in a new issue