|
NAMErofi keys - Rofi Key and Mouse bindingsDESCRIPTIONrofi supports overriding of any of it key and mouse binding.Setting bindingBindings can be done on the commandline (-{bindingname}):rofi -show run -kb-accept-entry 'Control+Shift+space' or via the configuration file: configuration { kb-accept-entry: "Control+Shift+space"; } The key can be set by its name (see above) or its keycode: configuration { kb-accept-entry: "Control+Shift+[65]"; } An easy way to look up keycode is xev(1). Multiple keys can be specified for an action as a comma separated list: configuration { kb-accept-entry: "Control+Shift+space,Return"; } By Default rofi reacts on pressing, to act on the release of all keys prepend the binding with !: configuration { kb-accept-entry: "!Control+Shift+space,Return"; } Keyboard Bindingskb-primary-paste:Paste primary selectionDefault: Control+V,Shift+Insert kb-secondary-pastePaste clipboardDefault: Control+v,Insert kb-clear-lineClear input lineDefault: Control+w kb-move-frontBeginning of lineDefault: Control+a kb-move-endEnd of lineDefault: Control+e kb-move-word-backMove back one wordDefault: Alt+b,Control+Left kb-move-word-forwardMove forward one wordDefault: Alt+f,Control+Right kb-move-char-backMove back one charDefault: Left,Control+b kb-move-char-forwardMove forward one charDefault: Right,Control+f kb-remove-word-backDelete previous wordDefault: Control+Alt+h,Control+BackSpace kb-remove-word-forwardDelete next wordDefault: Control+Alt+d kb-remove-char-forwardDelete next charDefault: Delete,Control+d kb-remove-char-backDelete previous charDefault: BackSpace,Shift+BackSpace,Control+h kb-remove-to-eolDelete till the end of lineDefault: Control+k kb-remove-to-solDelete till the start of lineDefault: Control+u kb-accept-entryAccept entryDefault: Control+j,Control+m,Return,KP_Enter kb-accept-customUse entered text as command (in ssh/run modi)Default: Control+Return kb-accept-custom-altUse entered text as command (in ssh/run modi)Default: Control+Shift+Return kb-accept-altUse alternate accept command.Default: Shift+Return kb-delete-entryDelete entry from historyDefault: Shift+Delete kb-mode-nextSwitch to the next mode.Default: Shift+Right,Control+Tab kb-mode-previousSwitch to the previous mode.Default: Shift+Left,Control+ISO_Left_Tab kb-mode-completeStart completion for mode.Default: Control+l kb-row-leftGo to the previous columnDefault: Control+Page_Up kb-row-rightGo to the next columnDefault: Control+Page_Down kb-row-upSelect previous entryDefault: Up,Control+p,ISO_Left_Tab kb-row-downSelect next entryDefault: Down,Control+n kb-row-tabGo to next row, if one left, accept it, if no left next mode.Default: Tab kb-page-prevGo to the previous pageDefault: Page_Up kb-page-nextGo to the next pageDefault: Page_Down kb-row-firstGo to the first entryDefault: Home,KP_Home kb-row-lastGo to the last entryDefault: End,KP_End kb-row-selectSet selected item as input textDefault: Control+space kb-screenshotTake a screenshot of the rofi windowDefault: Alt+S kb-ellipsizeToggle between ellipsize modes for displayed dataDefault: Alt+period kb-toggle-case-sensitivityToggle case sensitivityDefault: grave,dead_grave kb-toggle-sortToggle sortDefault: Alt+grave kb-cancelQuit rofiDefault: Escape,Control+g,Control+bracketleft kb-custom-1Custom keybinding 1Default: Alt+1 kb-custom-2Custom keybinding 2Default: Alt+2 kb-custom-3Custom keybinding 3Default: Alt+3 kb-custom-4Custom keybinding 4Default: Alt+4 kb-custom-5Custom Keybinding 5Default: Alt+5 kb-custom-6Custom keybinding 6Default: Alt+6 kb-custom-7Custom Keybinding 7Default: Alt+7 kb-custom-8Custom keybinding 8Default: Alt+8 kb-custom-9Custom keybinding 9Default: Alt+9 kb-custom-10Custom keybinding 10Default: Alt+0 kb-custom-11Custom keybinding 11Default: Alt+exclam kb-custom-12Custom keybinding 12Default: Alt+at kb-custom-13Custom keybinding 13Default: Alt+numbersign kb-custom-14Custom keybinding 14Default: Alt+dollar kb-custom-15Custom keybinding 15Default: Alt+percent kb-custom-16Custom keybinding 16Default: Alt+dead_circumflex kb-custom-17Custom keybinding 17Default: Alt+ampersand kb-custom-18Custom keybinding 18Default: Alt+asterisk kb-custom-19Custom Keybinding 19Default: Alt+parenleft kb-select-1Select row 1Default: Super+1 kb-select-2Select row 2Default: Super+2 kb-select-3Select row 3Default: Super+3 kb-select-4Select row 4Default: Super+4 kb-select-5Select row 5Default: Super+5 kb-select-6Select row 6Default: Super+6 kb-select-7Select row 7Default: Super+7 kb-select-8Select row 8Default: Super+8 kb-select-9Select row 9Default: Super+9 kb-select-10Select row 10Default: Super+0 Mouse Bindingsml-row-leftGo to the previous columnDefault: ScrollLeft ml-row-rightGo to the next columnDefault: ScrollRight ml-row-upSelect previous entryDefault: ScrollUp ml-row-downSelect next entryDefault: ScrollDown me-select-entrySelect hovered rowDefault: MousePrimary me-accept-entryAccept hovered rowDefault: MouseDPrimary me-accept-customAccept hovered row with custom actionDefault: Control+MouseDPrimary SEE ALSOrofi(1), rofi-sensible-terminal(1), rofi-theme(5), rofi-script(5)AUTHORQball Cow ⟨qball@gmpclient.org⟩Rasmus Steinke ⟨rasi@xssn.at⟩ Quentin Glidic ⟨sardemff7+rofi@sardemff7.net⟩ Original code based on work by: Sean Pringle ⟨sean.pringle@gmail.com⟩ For a full list of authors, check the AUTHORS file.
Visit the GSP FreeBSD Man Page Interface. |