Update forward and back word bindings.

Fixes #24
Fixes #45
This commit is contained in:
Joshua Levy 2015-06-16 11:31:45 -07:00
parent ad0c149319
commit c24faf0205

View file

@ -55,7 +55,7 @@ Scope:
- In Bash, use **ctrl-r** to search through command history. - In Bash, use **ctrl-r** to search through command history.
- 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-b** and **alt-f** 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.
- To go back to the previous working directory: `cd -` - To go back to the previous working directory: `cd -`