From 35aef276b43a9f8aad25fbe2342789b3ab9ec258 Mon Sep 17 00:00:00 2001 From: Rager Florian Date: Sat, 5 Dec 2020 12:35:00 +0100 Subject: [PATCH] Add Ctrl-F command description Possibly the most useful command-line command there is! --- ch15_command-line_mode.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ch15_command-line_mode.md b/ch15_command-line_mode.md index e863ade..f989c63 100644 --- a/ch15_command-line_mode.md +++ b/ch15_command-line_mode.md @@ -39,7 +39,11 @@ Similar to the insert mode, inside the command-line mode, you have three ways to Ctrl-H Delete one character Ctrl-W Delete one word Ctrl-U Delete the entire line +Ctrl-F Show previous and current commands and rerun/edit them ``` +If you want to edit the command like you would a normal textfile use `Ctrl-F`. + +This also allows you to search through the previous commands, edit them and rerun them by pressing `Enter` in "command-line editing normal mode". ## Register And Autocomplete