From ff9b0f5ccd695395f4b7a18ab81426aa54b1b66f Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Wed, 13 Jun 2018 14:15:31 +0200 Subject: 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 --- doc/rofi.1 | 6 +++--- doc/rofi.1.markdown | 6 +++--- doc/test_xr.txt | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3