about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2017-02-26 20:18:51 +0100
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2017-02-26 20:21:40 +0100
commit3b30c5eefb0cd088197291602c0b0a1be63dac6e (patch)
tree10d3a36dbc242f28b231c70d9be7e94f5faf0b9a
parentbb9433e98874fe93a1b3f34848c74050fe9e58af (diff)
downloadranger-3b30c5eefb0cd088197291602c0b0a1be63dac6e.tar.gz
rc.conf: Map F2 to :rename
F2 is commonly used for renaming in various file managers. Since we
support the other F-keys in a manner similar to Midnight Commander,
mapping F2 to rename makes sense too.

Closes #818.
-rw-r--r--ranger/config/rc.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index 5b301b3c..3d58360c 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -300,6 +300,7 @@ map uV      toggle_visual_mode reverse=True
 
 # For the nostalgics: Midnight Commander bindings
 map <F1> help
+map <F2> console rename%space
 map <F3> display_file
 map <F4> edit
 map <F5> copy