summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMaxim Baz <github@maximbaz.com>2018-06-13 14:15:31 +0200
committerDave Davenport <DaveDavenport@users.noreply.github.com>2018-06-13 14:15:31 +0200
commitff9b0f5ccd695395f4b7a18ab81426aa54b1b66f (patch)
treefc5ea8e4ddb60c88cbd86cfc2828623fdd0b2208 /doc
parentbdb6abef4a2b3cd3c02443038f43af74fd1bc987 (diff)
Add default shortcuts: Shift+BackSpace to delete previous char, Ctrl+Left/Right for word movements (#790)
* Support Shift+BackSpace by default to delete previous char * Support Ctrl+Arrow for word movements
Diffstat (limited to 'doc')
-rw-r--r--doc/rofi.16
-rw-r--r--doc/rofi.1.markdown6
-rw-r--r--doc/test_xr.txt6
3 files changed, 9 insertions, 9 deletions
diff --git a/doc/rofi.1 b/doc/rofi.1
index f88c98aa..d422355b 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -1278,13 +1278,13 @@ Transparency can be used within \fBrofi\fR, for example if the selected backgrou
\fBCtrl\-f, Right\fR: Forward one character
.
.IP "\(bu" 4
-\fBAlt\-f\fR: Forward one word
+\fBAlt\-f, Ctrl\-Right\fR: Forward one word
.
.IP "\(bu" 4
\fBCtrl\-b, Left\fR: Back one character
.
.IP "\(bu" 4
-\fBAlt\-b\fR: Back one word
+\fBAlt\-b, Ctrl\-Left\fR: Back one word
.
.IP "\(bu" 4
\fBCtrl\-d, Delete\fR: Delete character
@@ -1293,7 +1293,7 @@ Transparency can be used within \fBrofi\fR, for example if the selected backgrou
\fBCtrl\-Alt\-d\fR: Delete word
.
.IP "\(bu" 4
-\fBCtrl\-h, Backspace\fR: Backspace (delete previous character)
+\fBCtrl\-h, Backspace, Shift\-Backspace\fR: Backspace (delete previous character)
.
.IP "\(bu" 4
\fBCtrl\-Alt\-h\fR: Delete previous word
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index 7fa5574e..a3ae4877 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -766,12 +766,12 @@ of the window will be visible through it.
* `Ctrl-a`: Beginning of line
* `Ctrl-e`: End of line
* `Ctrl-f, Right`: Forward one character
- * `Alt-f`: Forward one word
+ * `Alt-f, Ctrl-Right`: Forward one word
* `Ctrl-b, Left`: Back one character
- * `Alt-b`: Back one word
+ * `Alt-b, Ctrl-Left`: Back one word
* `Ctrl-d, Delete`: Delete character
* `Ctrl-Alt-d`: Delete word
- * `Ctrl-h, Backspace`: Backspace (delete previous character)
+ * `Ctrl-h, Backspace, Shift-Backspace`: Backspace (delete previous character)
* `Ctrl-Alt-h`: Delete previous word
* `Ctrl-j,Ctrl-m,Enter`: Accept entry
* `Ctrl-n,Down`: Select next entry
diff --git a/doc/test_xr.txt b/doc/test_xr.txt
index 2b3bd585..fe2ea9aa 100644
--- a/doc/test_xr.txt
+++ b/doc/test_xr.txt
@@ -127,9 +127,9 @@ rofi.kb-move-front: Control+a
! "End of line" Set from: File
rofi.kb-move-end: Control+e
! "Move back one word" Set from: File
-rofi.kb-move-word-back: Alt+b
+rofi.kb-move-word-back: Alt+b,Ctrl+Left
! "Move forward one word" Set from: File
-rofi.kb-move-word-forward: Alt+f
+rofi.kb-move-word-forward: Alt+f,Ctrl+Right
! "Move back one char" Set from: File
rofi.kb-move-char-back: Left,Control+b
! "Move forward one char" Set from: File
@@ -141,7 +141,7 @@ rofi.kb-remove-word-forward: Control+Alt+d
! "Delete next char" Set from: File
rofi.kb-remove-char-forward: Delete,Control+d
! "Delete previous char" Set from: File
-rofi.kb-remove-char-back: BackSpace,Control+h
+rofi.kb-remove-char-back: BackSpace,Shift+BackSpace,Control+h
! "Delete till the end of line" Set from: File
rofi.kb-remove-to-eol: Control+k
! "Delete till the start of line" Set from: File