From 68cbe90ff14ddf4c5e569cbdf7e4653f94dc3753 Mon Sep 17 00:00:00 2001 From: Joshua Levy Date: Sat, 20 Jun 2015 00:10:40 -0700 Subject: [PATCH] Note about history and history abbreviations. Fixes #30. Fixes #39. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index be36215..1034022 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,9 @@ Notes: - 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, **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. -- Alternatively, add `set -o vi` to your `~/.bashrc` to enable vim-keybindings for bash. +- Alternatively, if you love vi-style key-bindings, use `set -o vi`. + +- To see recent commands, `history`. There are also many abbreviations such as `!$` (last argument) and `!!` last command, though these are often easily replaced with **ctrl-r* and **alt-.**. - To go back to the previous working directory: `cd -`