1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-11 13:50:48 -05:00
rofi/doc/rofi-keys.5

641 lines
7.9 KiB
Groff
Raw Normal View History

2022-07-21 15:48:53 -04:00
.nh
.TH ROFI-KEYS 5 rofi-keys
.SH NAME
.PP
2022-07-21 15:48:53 -04:00
\fBrofi keys\fP - Rofi Key and Mouse bindings
.SH DESCRIPTION
.PP
\fBrofi\fP supports overriding of any of it key and mouse binding.
.SH Setting binding
.PP
2022-07-21 15:48:53 -04:00
Bindings can be done on the commandline (-{bindingname}):
.PP
.RS
.nf
2022-07-21 15:48:53 -04:00
rofi -show run -kb-accept-entry 'Control+Shift+space'
.fi
.RE
.PP
or via the configuration file:
.PP
.RS
.nf
configuration {
2022-07-21 15:48:53 -04:00
kb-accept-entry: "Control+Shift+space";
}
.fi
.RE
.PP
The key can be set by its name (see above) or its keycode:
.PP
.RS
.nf
configuration {
2022-07-21 15:48:53 -04:00
kb-accept-entry: "Control+Shift+[65]";
}
.fi
.RE
.PP
An easy way to look up keycode is xev(1).
.PP
Multiple keys can be specified for an action as a comma separated list:
.PP
.RS
.nf
configuration {
2022-07-21 15:48:53 -04:00
kb-accept-entry: "Control+Shift+space,Return";
}
.fi
.RE
.PP
By Default \fBrofi\fP reacts on pressing, to act on the release of all keys
prepend the binding with \fB\fC!\fR:
.PP
.RS
.nf
configuration {
2022-07-21 15:48:53 -04:00
kb-accept-entry: "!Control+Shift+space,Return";
}
.fi
.RE
.SH Keyboard Bindings
2022-07-21 15:48:53 -04:00
.SS \fBkb-primary-paste\fP:
.PP
Paste primary selection
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+V,Shift+Insert
2022-07-21 15:48:53 -04:00
.SS \fBkb-secondary-paste\fP
.PP
Paste clipboard
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+v,Insert
2022-07-21 15:48:53 -04:00
.SS \fBkb-clear-line\fP
.PP
Clear input line
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+w
2022-07-21 15:48:53 -04:00
.SS \fBkb-move-front\fP
.PP
Beginning of line
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+a
2022-07-21 15:48:53 -04:00
.SS \fBkb-move-end\fP
.PP
End of line
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+e
2022-07-21 15:48:53 -04:00
.SS \fBkb-move-word-back\fP
.PP
Move back one word
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+b,Control+Left
2022-07-21 15:48:53 -04:00
.SS \fBkb-move-word-forward\fP
.PP
Move forward one word
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+f,Control+Right
2022-07-21 15:48:53 -04:00
.SS \fBkb-move-char-back\fP
.PP
Move back one char
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Left,Control+b
2022-07-21 15:48:53 -04:00
.SS \fBkb-move-char-forward\fP
.PP
Move forward one char
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Right,Control+f
2022-07-21 15:48:53 -04:00
.SS \fBkb-remove-word-back\fP
.PP
Delete previous word
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+Alt+h,Control+BackSpace
2022-07-21 15:48:53 -04:00
.SS \fBkb-remove-word-forward\fP
.PP
Delete next word
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+Alt+d
2022-07-21 15:48:53 -04:00
.SS \fBkb-remove-char-forward\fP
.PP
Delete next char
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Delete,Control+d
2022-07-21 15:48:53 -04:00
.SS \fBkb-remove-char-back\fP
.PP
Delete previous char
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: BackSpace,Shift+BackSpace,Control+h
2022-07-21 15:48:53 -04:00
.SS \fBkb-remove-to-eol\fP
.PP
Delete till the end of line
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+k
2022-07-21 15:48:53 -04:00
.SS \fBkb-remove-to-sol\fP
.PP
Delete till the start of line
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+u
2022-07-21 15:48:53 -04:00
.SS \fBkb-accept-entry\fP
.PP
Accept entry
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+j,Control+m,Return,KP_Enter
2022-07-21 15:48:53 -04:00
.SS \fBkb-accept-custom\fP
.PP
2022-02-23 16:42:56 -05:00
Use entered text as command (in ssh/run modes)
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+Return
2022-07-21 15:48:53 -04:00
.SS \fBkb-accept-custom-alt\fP
.PP
2022-02-23 16:42:56 -05:00
Use entered text as command (in ssh/run modes)
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+Shift+Return
2022-07-21 15:48:53 -04:00
.SS \fBkb-accept-alt\fP
.PP
Use alternate accept command.
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Shift+Return
2022-07-21 15:48:53 -04:00
.SS \fBkb-delete-entry\fP
.PP
Delete entry from history
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Shift+Delete
2022-07-21 15:48:53 -04:00
.SS \fBkb-mode-next\fP
.PP
Switch to the next mode.
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Shift+Right,Control+Tab
2022-07-21 15:48:53 -04:00
.SS \fBkb-mode-previous\fP
.PP
Switch to the previous mode.
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Shift+Left,Control+ISO_Left_Tab
2022-07-21 15:48:53 -04:00
.SS \fBkb-mode-complete\fP
.PP
Start completion for mode.
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+l
2022-07-21 15:48:53 -04:00
.SS \fBkb-row-left\fP
.PP
Go to the previous column
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+Page_Up
2022-07-21 15:48:53 -04:00
.SS \fBkb-row-right\fP
.PP
Go to the next column
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+Page_Down
2022-07-21 15:48:53 -04:00
.SS \fBkb-row-up\fP
.PP
Select previous entry
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Up,Control+p
2022-07-21 15:48:53 -04:00
.SS \fBkb-row-down\fP
.PP
Select next entry
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Down,Control+n
2022-07-21 15:48:53 -04:00
.SS \fBkb-row-tab\fP
.PP
Go to next row, if one left, accept it, if no left next mode.
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP:
2022-07-21 15:48:53 -04:00
.SS \fBkb-element-next\fP
.PP
Go to next row.
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Tab
2022-07-21 15:48:53 -04:00
.SS \fBkb-element-prev\fP
.PP
Go to previous row.
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: ISO_Left_Tab
2022-07-21 15:48:53 -04:00
.SS \fBkb-page-prev\fP
.PP
Go to the previous page
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Page_Up
2022-07-21 15:48:53 -04:00
.SS \fBkb-page-next\fP
.PP
Go to the next page
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Page_Down
2022-07-21 15:48:53 -04:00
.SS \fBkb-row-first\fP
.PP
Go to the first entry
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Home,KP_Home
2022-07-21 15:48:53 -04:00
.SS \fBkb-row-last\fP
.PP
Go to the last entry
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: End,KP_End
2022-07-21 15:48:53 -04:00
.SS \fBkb-row-select\fP
.PP
Set selected item as input text
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+space
2022-07-21 15:48:53 -04:00
.SS \fBkb-screenshot\fP
.PP
Take a screenshot of the rofi window
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+S
2022-07-21 15:48:53 -04:00
.SS \fBkb-ellipsize\fP
.PP
Toggle between ellipsize modes for displayed data
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+period
2022-07-21 15:48:53 -04:00
.SS \fBkb-toggle-case-sensitivity\fP
.PP
Toggle case sensitivity
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: grave,dead_grave
2022-07-21 15:48:53 -04:00
.SS \fBkb-toggle-sort\fP
.PP
Toggle sort
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+grave
2022-07-21 15:48:53 -04:00
.SS \fBkb-cancel\fP
.PP
Quit rofi
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Escape,Control+g,Control+bracketleft
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-1\fP
.PP
Custom keybinding 1
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+1
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-2\fP
.PP
Custom keybinding 2
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+2
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-3\fP
.PP
Custom keybinding 3
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+3
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-4\fP
.PP
Custom keybinding 4
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+4
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-5\fP
.PP
Custom Keybinding 5
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+5
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-6\fP
.PP
Custom keybinding 6
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+6
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-7\fP
.PP
Custom Keybinding 7
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+7
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-8\fP
.PP
Custom keybinding 8
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+8
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-9\fP
.PP
Custom keybinding 9
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+9
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-10\fP
.PP
Custom keybinding 10
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+0
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-11\fP
.PP
Custom keybinding 11
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+exclam
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-12\fP
.PP
Custom keybinding 12
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+at
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-13\fP
.PP
Custom keybinding 13
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+numbersign
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-14\fP
.PP
Custom keybinding 14
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+dollar
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-15\fP
.PP
Custom keybinding 15
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+percent
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-16\fP
.PP
Custom keybinding 16
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+dead_circumflex
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-17\fP
.PP
Custom keybinding 17
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+ampersand
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-18\fP
.PP
Custom keybinding 18
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+asterisk
2022-07-21 15:48:53 -04:00
.SS \fBkb-custom-19\fP
.PP
Custom Keybinding 19
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Alt+parenleft
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-1\fP
.PP
Select row 1
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+1
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-2\fP
.PP
Select row 2
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+2
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-3\fP
.PP
Select row 3
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+3
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-4\fP
.PP
Select row 4
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+4
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-5\fP
.PP
Select row 5
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+5
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-6\fP
.PP
Select row 6
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+6
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-7\fP
.PP
Select row 7
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+7
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-8\fP
.PP
Select row 8
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+8
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-9\fP
.PP
Select row 9
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+9
2022-07-21 15:48:53 -04:00
.SS \fBkb-select-10\fP
.PP
Select row 10
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Super+0
.SH Mouse Bindings
2022-07-21 15:48:53 -04:00
.SS \fBml-row-left\fP
.PP
Go to the previous column
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: ScrollLeft
2022-07-21 15:48:53 -04:00
.SS \fBml-row-right\fP
.PP
Go to the next column
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: ScrollRight
2022-07-21 15:48:53 -04:00
.SS \fBml-row-up\fP
.PP
Select previous entry
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: ScrollUp
2022-07-21 15:48:53 -04:00
.SS \fBml-row-down\fP
.PP
Select next entry
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: ScrollDown
2022-07-21 15:48:53 -04:00
.SS \fBme-select-entry\fP
.PP
Select hovered row
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: MousePrimary
2022-07-21 15:48:53 -04:00
.SS \fBme-accept-entry\fP
.PP
Accept hovered row
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: MouseDPrimary
2022-07-21 15:48:53 -04:00
.SS \fBme-accept-custom\fP
.PP
Accept hovered row with custom action
.PP
2022-07-21 15:48:53 -04:00
\fBDefault\fP: Control+MouseDPrimary
.SH SEE ALSO
.PP
2022-07-21 15:48:53 -04:00
rofi(1), rofi-sensible-terminal(1), rofi-theme(5), rofi-script(5)
.SH AUTHOR
.PP
2022-07-21 15:48:53 -04:00
Qball Cow qball@gmpclient.org
\[la]mailto:qball@gmpclient.org\[ra]
.PP
2022-07-21 15:48:53 -04:00
Rasmus Steinke rasi@xssn.at
\[la]mailto:rasi@xssn.at\[ra]
.PP
2022-07-21 15:48:53 -04:00
Morgane Glidic sardemff7+rofi@sardemff7.net
\[la]mailto:sardemff7+rofi@sardemff7.net\[ra]
.PP
2022-07-21 15:48:53 -04:00
Original code based on work by: Sean Pringle sean.pringle@gmail.com
\[la]mailto:sean.pringle@gmail.com\[ra]
.PP
For a full list of authors, check the AUTHORS file.