about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorLeo Vivier <leo.vivier@gmail.com>2018-08-26 09:51:08 +0200
committerLeo Vivier <leo.vivier@gmail.com>2018-09-01 10:43:51 +0200
commit4201627fc6b05967a5e7d798f452c71713928f23 (patch)
treeffc17c4bce6ac4b4986c95e90c43e3b68a4ad0ff /ranger
parent2c04e3364f94c80ecf2f39681b5f380b351fb101 (diff)
downloadranger-4201627fc6b05967a5e7d798f452c71713928f23.tar.gz
Add support for default terminal word-movement commands to console
- Alt-b for moving backwards by words,
- Alt-f for moving forwards by words.
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 0228725e..f25589e3 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -617,6 +617,8 @@ cmap <home>  eval fm.ui.console.move(right=0, absolute=True)
 cmap <end>   eval fm.ui.console.move(right=-1, absolute=True)
 cmap <a-left>   eval fm.ui.console.move_word(left=1)
 cmap <a-right>  eval fm.ui.console.move_word(right=1)
+cmap <a-b> eval fm.ui.console.move_word(left=1)
+cmap <a-f> eval fm.ui.console.move_word(right=1)
 
 # Line Editing
 cmap <backspace>  eval fm.ui.console.delete(-1)