More detail on ctrl-r.

Fixes #52.
This commit is contained in:
Joshua Levy 2015-08-03 21:43:03 -07:00
parent 9b03ebf3c2
commit 2cf2393063

View file

@ -70,7 +70,7 @@ Notes:
## Everyday use
- In Bash, use **Tab** to complete arguments and **ctrl-r** to search through command history.
- In Bash, use **Tab** to complete arguments and **ctrl-r** to search through command history (after pressing, type to search, press **ctrl-r** repeatedly to cycle through more matches, press **Enter** to execute the found command, or hit the right arrow to put the result in the current line to allow editing).
- In Bash, use **ctrl-w** to delete the last word, and **ctrl-u** to delete all the way back to the start of the line. Use **alt-b** and **alt-f** to move by word, **ctrl-a** to move cursor to beginning of line, **ctrl-e** to move cursor to end of line, **ctrl-k** to kill to the end of the line, **ctrl-l** to clear the screen. 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.