Skip to content

Keyboard Shortcuts

You can drive Raffi from the keyboard alone. If you forget a key, press Ctrl+/ or type ? on its own, and Raffi lists the keywords and shortcuts your config turns on. Typing narrows the list.

Keyword and shortcut help list
KeyWhat it does
Up / DownMove through the results
EnterLaunch the selected entry, or start the addon whose keyword is selected
RightWith the cursor at the end, open actions for the selected result
Ctrl+EnterRun the addon’s second action, such as typing a password or closing a browser tab
TabComplete the selected keyword or file path
Ctrl+Tab / Ctrl+Shift+TabSwitch to the next or previous view (see below)
Alt+P / Alt+NGo back and forth through what you searched before
Ctrl+PShow or hide the preview pane on the right
Ctrl+J / Ctrl+KScroll the preview pane down or up
Ctrl+RReload the current list
F5Ask the cache service to fetch the current Slack view, browser history or cached Script Filter again, then show the result. Only offered while the service runs
Ctrl+Shift+F5Ask the cache service to fetch everything it caches again, from any view
Ctrl+/, or ? typed aloneOpen the help list. Escape closes it and puts your search back. If one of your keywords is ?, use Ctrl+/
Ctrl+Alt+VEnable or disable vim mode for this run
EscapeClose the help list, or close Raffi. In vim insert mode, return to normal mode instead

Press Right with the search cursor at the end to see the selected result’s available actions and shortcuts. Type to filter the actions, use Up/Down to choose one, and press Enter to run it. Escape returns to your original search and selection. Actions that require confirmation still ask before running.

Right keeps moving the cursor when you are editing the middle of a query or have text selected. On the addon chips row it keeps selecting the next chip. The footer shows → Actions when the selected result has actions.

Actions for a file, with opening, file manager and copy path options

Wherever a list has more than one view, Ctrl+Tab moves to the next one and Ctrl+Shift+Tab goes back. The footer shows the name of the view you are on. Raffi uses this one key for every view switch, and no addon adds a key of its own for it.

WhereViews, in order
Main list, when main_view is setAll, then each source in the order you listed them (for example Launchers, Windows, Tabs), then All again
Window switcherWindows, Workspaces
Clipboard historyAll, Images, URLs
File browserAll, Files, Directories
SlackHome, Unread, People
Audio switcherAll, Outputs, Inputs
Browser tabsBy browser, Recent
BookmarksAll browsers, then each one
Browser historyEach browser found
Script filtersThe views the script lists

In the help list, Ctrl+Tab completes the selected keyword, like Tab.

Main list narrowed to Launchers with Ctrl+Tab

With main_view set and an empty search, Left and Right move along the row of addon chips at the top, and Enter starts the one you picked. The selected chip has an accent outline, and the footer names what Enter will open. Press Down to select a result; the footer then shows that result’s action.

Vim mode is opt-in. Turn it on with general.vim_mode: true, raffi --vim-mode, or Ctrl+Alt+V at runtime. The command-line toggle does not rewrite your config. A NORMAL or INSERT badge beside the search field shows the current mode.

When vim mode starts, it begins in normal mode. In normal mode the search field does not take typed text; use an insert key to focus it and type again.

KeyWhat it does
j / kMove to the next or previous result
h / lMove to the previous or next plugin chip
g gJump to the first result
GJump to the last result
EnterActivate the selection
i, a, A, /Enter insert mode with the cursor at the end
IEnter insert mode with the cursor at the start
qQuit Raffi
EscIn insert mode, return to normal mode; in normal mode, quit Raffi
Ctrl+Alt+VDisable vim mode and return to normal typing

All the other shortcuts above still work in normal mode, including Ctrl+Tab, Ctrl+P, Ctrl+R, Alt+P/N and the addon keys. Vault and bookmark search prompts always open in insert mode so you can type into them.

raffi.yaml
general:
vim_mode: true
Vim normal mode badge beside the search field
KeyWhat it does
Ctrl+HShow or hide dotfiles
Ctrl+SSort by name, then modified date, then created date
Ctrl+OOpen the selection with xdg-open
Ctrl+BOpen the folder in your file manager with the entry selected
Ctrl+YCopy the path
Ctrl+Alt+YCopy the image itself
BackspaceWhen the path ends with /, go up one folder
~/ or / after a /Start the path again from your home folder or the root

The last two rows come from the file browser’s fido_style option, which is on by default.

KeyWhat it does
Ctrl+DDelete the selected item from the clipboard history; in the window switcher, close the selected window
Ctrl+UCopy the username of a password entry
Ctrl+OCopy the current one-time code of a password entry
Help list filtered to the preview shortcuts