summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorLeo Vivier <leo.vivier@gmail.com>2018-09-01 12:07:27 +0200
committerLeo Vivier <leo.vivier@gmail.com>2018-09-01 12:16:00 +0200
commit2c3beb6a8aab819f165956818236892500b13c1a (patch)
treea6549fc8857101f10ca9bf481108e4188b62f097 /ranger
parent565110840d6a0a54e99b77f797279ccb8e490f94 (diff)
downloadranger-2c3beb6a8aab819f165956818236892500b13c1a.tar.gz
Map C-p to `console` for faster history access
Allows user to press C-p to open the console from the main view and to
press C-p again to go up in the history of previous commands.
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/rc.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 59c52084..5ac7cc70 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -349,6 +349,8 @@ map r  chain draw_possible_programs; console open_with%%space
 map f  console find%space
 map cd console cd%space
 
+map <C-p> console
+
 # Change the line mode
 map Mf linemode filename
 map Mi linemode fileinfo