diff options
-rw-r--r-- | doc/ranger.1 | 3 | ||||
-rw-r--r-- | doc/ranger.pod | 4 | ||||
-rw-r--r-- | ranger/config/rc.conf | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/doc/ranger.1 b/doc/ranger.1 index 0c55638a..ea010eac 100644 --- a/doc/ranger.1 +++ b/doc/ranger.1 @@ -643,6 +643,9 @@ to use to open the current file selection. .IP "cd" 14 .IX Item "cd" Open the console with the content \*(L"cd \*(R" +.IP "^P" 14 +.IX Item "^P" +Open the console with the most recent command. .IP "Alt\-\fIN\fR" 14 .IX Item "Alt-N" Open a tab. N has to be a number from 0 to 9. If the tab doesn't exist yet, it diff --git a/doc/ranger.pod b/doc/ranger.pod index 3e269261..5c668235 100644 --- a/doc/ranger.pod +++ b/doc/ranger.pod @@ -597,6 +597,10 @@ to use to open the current file selection. Open the console with the content "cd " +=item ^P + +Open the console with the most recent command. + =item Alt-I<N> Open a tab. N has to be a number from 0 to 9. If the tab doesn't exist yet, it diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf index 5ac7cc70..9c1a6a83 100644 --- a/ranger/config/rc.conf +++ b/ranger/config/rc.conf @@ -349,7 +349,7 @@ map r chain draw_possible_programs; console open_with%%space map f console find%space map cd console cd%space -map <C-p> console +map <C-p> chain console; eval fm.ui.console.history_move(-1) # Change the line mode map Mf linemode filename |