In qutebrowser, all keybindings are mapped to commands.
Some commands are hidden, which means they don’t show up in the command
completion when pressing :
, as they’re typically not useful to run by hand.
For command arguments, there are also some variables you can use:
-
{url}
expands to the URL of the current page -
{url:pretty}
expands to the URL in decoded format -
{url:host}
,{url:domain}
,{url:auth}
,{url:scheme}
,{url:username}
,{url:password}
,{url:port}
,{url:path}
and{url:query}
expand to the respective parts of the current URL -
{title}
expands to the current page’s title -
{clipboard}
expands to the clipboard contents -
{primary}
expands to the primary selection contents
Those variables can be escaped by doubling the braces, e.g. {{url}}
. It is
possible to run or bind multiple commands by separating them with ;;
.
Command | Description |
---|---|
Update block lists for both the host- and the Brave ad blocker. |
|
Go back in the history of the current tab. |
|
Bind a key to a command. |
|
Save the current page as a bookmark, or a specific url. |
|
Delete a bookmark. |
|
Show all bookmarks/quickmarks. |
|
Load a bookmark. |
|
Clear the currently entered key chain. |
|
Clear all message notifications. |
|
Click the element matching the given filter. |
|
Close the current window. |
|
Set all settings back to their default. |
|
Cycle an option between multiple values. |
|
Add a key/value pair to a dictionary option. |
|
Remove a key from a dict. |
|
Show all customized options. |
|
Open the config.py file in the editor. |
|
Append a value to a config option that is a list. |
|
Remove a value from a list. |
|
Read a config.py file. |
|
Unset an option. |
|
Write the current configuration to a config.py file. |
|
Toggle the developer tools (web inspector). |
|
Toggle focus between the devtools/tab. |
|
Download a given URL, or current page if no URL given. |
|
Cancel the last/[count]th download. |
|
Remove all finished downloads from the list. |
|
Delete the last/[count]th download from disk. |
|
Open the last/[count]th download. |
|
Remove the last/[count]th download from the list. |
|
Retry the first failed/[count]th download. |
|
Open an editor to modify the current command. |
|
Open an external editor with the currently selected form field. |
|
Navigate to a url formed in an external editor. |
|
Send a fake keypress or key string to the website or qutebrowser. |
|
Go forward in the history of the current tab. |
|
Toggle fullscreen mode. |
|
Re-read Greasemonkey scripts from disk. |
|
Show help about a command or setting. |
|
Start hinting. |
|
Show browsing history. |
|
Clear all browsing history. |
|
Open main startpage in current tab. |
|
Insert text at cursor position. |
|
Evaluate a JavaScript string. |
|
Jump to the mark named by |
|
Execute a command after some time. |
|
Start or stop recording a macro. |
|
Run a recorded macro. |
|
Show an error message in the statusbar. |
|
Show an info message in the statusbar. |
|
Show a warning message in the statusbar. |
|
Show a log of past messages. |
|
Enter a key mode. |
|
Open typical prev/next links or navigate using the URL path. |
|
Do nothing. |
|
Open a URL in the current/[count]th tab. |
|
Print the current/[count]th tab. |
|
Manage processes spawned by qutebrowser. |
|
Add a new quickmark. |
|
Delete a quickmark. |
|
Load a quickmark. |
|
Save the current page as a quickmark. |
|
Quit qutebrowser. |
|
Reload the current/[count]th tab. |
|
Repeat a given command. |
|
Repeat the last executed command. |
|
Report a bug in qutebrowser. |
|
Restart qutebrowser while keeping existing tabs open. |
|
Run a command with the given count. |
|
Save configs and state. |
|
Take a screenshot of the currently shown part of the page. |
|
Scroll the current tab in the given direction. |
|
Scroll the frame page-wise. |
|
Scroll the current tab by 'count * dx/dy' pixels. |
|
Scroll to the given anchor in the document. |
|
Scroll to a specific percentage of the page. |
|
Search for a text on the current page. With no text, clear results. |
|
Continue the search to the ([count]th) next term. |
|
Continue the search to the ([count]th) previous term. |
|
Follow the selected text. |
|
Delete a session. |
|
Load a session. |
|
Save a session. |
|
Set an option. |
|
Preset the statusbar to some text. |
|
Set a mark at the current scroll position in the current tab. |
|
Spawn an external command. |
|
Stop loading in the current/[count]th tab. |
|
Duplicate the current tab. |
|
Close the current/[count]th tab. |
|
Select the tab given as argument/[count]. |
|
Give the current tab to a new or existing window if win_id given. |
|
Move the current tab according to the argument and [count]. |
|
Mute/Unmute the current/[count]th tab. |
|
Switch to the next tab, or switch [count] tabs forward. |
|
Close all tabs except for the current one. |
|
Pin/Unpin the current/[count]th tab. |
|
Switch to the previous tab, or switch [count] tabs back. |
|
Select tab by index or url/title best match. |
|
Take a tab from another window. |
|
Unbind a keychain. |
|
Re-open the last closed tab(s) or window. |
|
Show version information. |
|
Show the source of the current page in a new tab. |
|
Close all windows except for the current one. |
|
Yank (copy) something to the clipboard or primary selection. |
|
Set the zoom level for the current tab. |
|
Increase the zoom level for the current tab. |
|
Decrease the zoom level for the current tab. |
Syntax: :back [*--tab*] [*--bg*] [*--window*] ['index']
Go back in the history of the current tab.
-
*-t*, *--tab*: Go back in a new tab.
-
*-b*, *--bg*: Go back in a background tab.
-
*-w*, *--window*: Go back in a new window.
Syntax: :bind [*--mode* 'mode'] [*--default*] ['key'] ['command']
Bind a key to a command.
If no command is given, show the current binding for the given key. Using :bind without any arguments opens a page showing all keybindings.
-
'key': The keychain to bind. Examples of valid keychains are
gC
,<Ctrl-X>
or<Ctrl-C>a
. -
'command': The command to execute, with optional args.
-
*-m*, *--mode*: The mode to bind the key in (default:
normal
). See:help bindings.commands
for the available modes. -
*-d*, *--default*: If given, restore a default binding.
Syntax: :bookmark-add [*--toggle*] ['url'] ['title']
Save the current page as a bookmark, or a specific url.
If no url and title are provided, then save the current page as a bookmark. If a url and title have been provided, then save the given url as a bookmark with the provided title. You can view all saved bookmarks on the bookmarks page.
-
'url': url to save as a bookmark. If not given, use url of current page.
-
'title': title of the new bookmark.
Syntax: :bookmark-del ['url']
Delete a bookmark.
-
'url': The url of the bookmark to delete. If not given, use the current page’s url.
Syntax: :bookmark-list [*--jump*] [*--tab*] [*--bg*] [*--window*]
Show all bookmarks/quickmarks.
Syntax: :bookmark-load [*--tab*] [*--bg*] [*--window*] [*--delete*] 'url'
Load a bookmark.
-
*-t*, *--tab*: Load the bookmark in a new tab.
-
*-b*, *--bg*: Load the bookmark in a new background tab.
-
*-w*, *--window*: Load the bookmark in a new window.
-
*-d*, *--delete*: Whether to delete the bookmark afterwards.
Syntax: :click-element [*--target* 'target'] [*--force-event*] [*--select-first*] 'filter' ['value']
Click the element matching the given filter.
The given filter needs to result in exactly one element, otherwise, an error is shown.
-
'filter': How to filter the elements.
-
id: Get an element based on its ID.
-
css: Filter by a CSS selector.
-
position: Click the element at specified position. Specify
value
as 'x,y'. -
focused: Click the currently focused element.
-
-
'value': The value to filter for. Optional for 'focused' filter.
Syntax: :config-clear [*--save*]
Set all settings back to their default.
Syntax: :config-cycle [*--pattern* 'pattern'] [*--temp*] [*--print*] 'option' ['values' ...]
Cycle an option between multiple values.
-
*-u*, *--pattern*: The URL pattern to use.
-
*-t*, *--temp*: Set value temporarily until qutebrowser is closed.
-
*-p*, *--print*: Print the value after setting.
Syntax: :config-dict-add [*--temp*] [*--replace*] 'option' 'key' 'value'
Add a key/value pair to a dictionary option.
-
'option': The name of the option.
-
'key': The key to use.
-
'value': The value to place in the dictionary.
Syntax: :config-dict-remove [*--temp*] 'option' 'key'
Remove a key from a dict.
Syntax: :config-edit [*--no-source*]
Open the config.py file in the editor.
Syntax: :config-list-add [*--temp*] 'option' 'value'
Append a value to a config option that is a list.
-
'option': The name of the option.
-
'value': The value to append to the end of the list.
Syntax: :config-list-remove [*--temp*] 'option' 'value'
Remove a value from a list.
Syntax: :config-source [*--clear*] ['filename']
Read a config.py file.
Syntax: :config-unset [*--pattern* 'pattern'] [*--temp*] 'option'
Unset an option.
This sets an option back to its default and removes it from autoconfig.yml.
-
*-u*, *--pattern*: The URL pattern to use.
-
*-t*, *--temp*: Set value temporarily until qutebrowser is closed.
Syntax: :config-write-py [*--force*] [*--defaults*] ['filename']
Write the current configuration to a config.py file.
Syntax: :devtools ['position']
Toggle the developer tools (web inspector).
Syntax: :download [*--mhtml*] [*--dest* 'dest'] ['url']
Download a given URL, or current page if no URL given.
Syntax: :download-cancel [*--all*]
Cancel the last/[count]th download.
Delete the last/[count]th download from disk.
Syntax: :download-open [*--dir*] ['cmdline']
Open the last/[count]th download.
If no specific command is given, this will use the system’s default application to open the file.
-
'cmdline': The command which should be used to open the file. A
{}
is expanded to the temporary file name. If no{}
is present, the filename is automatically appended to the cmdline.
Syntax: :download-remove [*--all*]
Remove the last/[count]th download from the list.
Syntax: :edit-command [*--run*]
Open an editor to modify the current command.
Open an external editor with the currently selected form field.
The editor which should be launched can be configured via the editor.command
config option.
Syntax: :edit-url [*--bg*] [*--tab*] [*--window*] [*--private*] [*--related*] ['url']
Navigate to a url formed in an external editor.
The editor which should be launched can be configured via the editor.command
config option.
-
*-b*, *--bg*: Open in a new background tab.
-
*-t*, *--tab*: Open in a new tab.
-
*-w*, *--window*: Open in a new window.
-
*-p*, *--private*: Open a new window in private browsing mode.
-
*-r*, *--related*: If opening a new tab, position the tab as related to the current one (like clicking on a link).
Syntax: :fake-key [*--global*] 'keystring'
Send a fake keypress or key string to the website or qutebrowser.
:fake-key xy - sends the keychain 'xy' :fake-key <Ctrl-x> - sends Ctrl-x :fake-key <Escape> - sends the escape key
Syntax: :forward [*--tab*] [*--bg*] [*--window*] ['index']
Go forward in the history of the current tab.
-
*-t*, *--tab*: Go forward in a new tab.
-
*-b*, *--bg*: Go forward in a background tab.
-
*-w*, *--window*: Go forward in a new window.
Syntax: :fullscreen [*--leave*] [*--enter*]
Toggle fullscreen mode.
Syntax: :greasemonkey-reload [*--force*] [*--quiet*]
Re-read Greasemonkey scripts from disk.
The scripts are read from a 'greasemonkey' subdirectory in qutebrowser’s data or config directories (see :version
).
Syntax: :help [*--tab*] [*--bg*] [*--window*] ['topic']
Show help about a command or setting.
-
'topic': The topic to show help for.
-
:command for commands.
-
section.option for settings.
-
Syntax: :hint [*--mode* 'mode'] [*--add-history*] [*--rapid*] [*--first*] ['group'] ['target'] ['args' ...]
Start hinting.
-
'group': The element types to hint.
-
all
: All clickable elements. -
links
: Only links. -
images
: Only images. -
inputs
: Only input fields.Custom groups can be added via the `hints.selectors` setting and also used here.
-
-
'target': What to do with the selected element.
-
normal
: Open the link. -
current
: Open the link in the current tab. -
tab
: Open the link in a new tab (honoring thetabs.background
setting). -
tab-fg
: Open the link in a new foreground tab. -
tab-bg
: Open the link in a new background tab. -
window
: Open the link in a new window. -
hover
: Hover over the link. -
right-click
: Right-click the element. -
yank
: Yank the link to the clipboard. -
yank-primary
: Yank the link to the primary selection. -
run
: Run the argument as command. -
fill
: Fill the commandline with the command given as argument. -
download
: Download the link. -
userscript
: Call a userscript with$QUTE_URL
set to the link. -
spawn
: Spawn a command. -
delete
: Delete the selected element.
-
-
'args': Arguments for spawn/userscript/run/fill.
-
With
spawn
: The executable and arguments to spawn.{hint-url}
will get replaced by the selected URL. -
With
userscript
: The userscript to execute. Either store the userscript in~/.local/share/qutebrowser/userscripts
(or$XDG_DATA_HOME
), or use an absolute path. -
With
fill
: The command to fill the statusbar with.{hint-url}
will get replaced by the selected URL. -
With
run
: Same asfill
.
-
-
*-m*, *--mode*: The hinting mode to use.
-
number
: Use numeric hints. -
letter
: Use the chars in the hints.chars setting. -
word
: Use hint words based on the html elements and the extra words.
-
-
*-a*, *--add-history*: Whether to add the spawned or yanked link to the browsing history.
-
*-r*, *--rapid*: Whether to do rapid hinting. With rapid hinting, the hint mode isn’t left after a hint is followed, so you can easily open multiple links. Note this won’t work with targets
tab-fg
,fill
,delete
andright-click
. -
*-f*, *--first*: Click the first hinted element without prompting.
Syntax: :history [*--tab*] [*--bg*] [*--window*]
Show browsing history.
Syntax: :history-clear [*--force*]
Clear all browsing history.
Note this only clears the global history (e.g. ~/.local/share/qutebrowser/history
on Linux) but not cookies, the back/forward history of a tab, cache or other persistent data.
Syntax: :insert-text 'text'
Insert text at cursor position.
Syntax: :jseval [*--file*] [*--url*] [*--quiet*] [*--world* 'world'] 'js-code'
Evaluate a JavaScript string.
-
*-f*, *--file*: Interpret js-code as a path to a file. If the path is relative, the file is searched in a js/ subdir in qutebrowser’s data dir, e.g.
~/.local/share/qutebrowser/js
. -
*-u*, *--url*: Interpret js-code as a
javascript:…
URL. -
*-q*, *--quiet*: Don’t show resulting JS object.
-
*-w*, *--world*: Ignored on QtWebKit. On QtWebEngine, a world ID or name to run the snippet in. Predefined world names are:
-
main
(same world as the web page’s JavaScript and Greasemonkey, unless overridden via@qute-js-world
) -
application
(used for internal qutebrowser JS code, should not be used via:jseval
unless you know what you’re doing) -
user
(currently unused) -
jseval
(used for this command by default)
-
Syntax: :jump-mark 'key'
Jump to the mark named by key
.
Syntax: :later 'duration' 'command'
Execute a command after some time.
-
'duration': Duration to wait in format XhYmZs or a number for milliseconds.
-
'command': The command to run, with optional args.
Syntax: :macro-record ['register']
Start or stop recording a macro.
Syntax: :macro-run ['register']
Run a recorded macro.
Syntax: :message-error [*--rich*] 'text'
Show an error message in the statusbar.
-
*-r*, *--rich*: Render the given text as Qt Rich Text.
Syntax: :message-info [*--rich*] 'text'
Show an info message in the statusbar.
-
*-r*, *--rich*: Render the given text as Qt Rich Text.
Syntax: :message-warning [*--rich*] 'text'
Show a warning message in the statusbar.
-
*-r*, *--rich*: Render the given text as Qt Rich Text.
Syntax: :messages [*--plain*] [*--tab*] [*--bg*] [*--window*] [*--logfilter* 'logfilter'] ['level']
Show a log of past messages.
-
'level': Include messages with
level
or higher severity. Valid values: vdebug, debug, info, warning, error, critical.
-
*-p*, *--plain*: Whether to show plaintext (as opposed to html).
-
*-t*, *--tab*: Open in a new tab.
-
*-b*, *--bg*: Open in a background tab.
-
*-w*, *--window*: Open in a new window.
-
*-f*, *--logfilter*: A comma-separated filter string of logging categories. If the filter string starts with an exclamation mark, it is negated.
Syntax: :mode-enter 'mode'
Enter a key mode.
Syntax: :navigate [*--tab*] [*--bg*] [*--window*] 'where'
Open typical prev/next links or navigate using the URL path.
This tries to automatically click on typical Previous Page or Next Page links using some heuristics. Alternatively it can navigate by changing the current URL.
-
'where': What to open.
-
prev
: Open a previous link. -
next
: Open a next link. -
up
: Go up a level in the current URL. -
increment
: Increment the last number in the URL. Uses the url.incdec_segments config option. -
decrement
: Decrement the last number in the URL. Uses the url.incdec_segments config option. -
strip
: Strip query and fragment from the current URL.
-
-
*-t*, *--tab*: Open in a new tab.
-
*-b*, *--bg*: Open in a background tab.
-
*-w*, *--window*: Open in a new window.
Syntax: :open [*--related*] [*--bg*] [*--tab*] [*--window*] [*--secure*] [*--private*] ['url']
Open a URL in the current/[count]th tab.
If the URL contains newlines, each line gets opened in its own tab.
-
*-r*, *--related*: If opening a new tab, position the tab as related to the current one (like clicking on a link).
-
*-b*, *--bg*: Open in a new background tab.
-
*-t*, *--tab*: Open in a new tab.
-
*-w*, *--window*: Open in a new window.
-
*-s*, *--secure*: Force HTTPS.
-
*-p*, *--private*: Open a new window in private browsing mode.
Syntax: :print [*--preview*] [*--pdf* 'file']
Print the current/[count]th tab.
-
*-p*, *--preview*: Show preview instead of printing.
-
*-f*, *--pdf*: The file path to write the PDF to.
Syntax: :process ['pid'] ['action']
Manage processes spawned by qutebrowser.
Note that processes with a successful exit get cleaned up after 1h.
Syntax: :quickmark-add 'url' 'name'
Add a new quickmark.
You can view all saved quickmarks on the bookmarks page.
Syntax: :quickmark-del ['name']
Delete a quickmark.
-
'name': The name of the quickmark to delete. If not given, delete the quickmark for the current page (choosing one arbitrarily if there are more than one).
Syntax: :quickmark-load [*--tab*] [*--bg*] [*--window*] 'name'
Load a quickmark.
-
*-t*, *--tab*: Load the quickmark in a new tab.
-
*-b*, *--bg*: Load the quickmark in a new background tab.
-
*-w*, *--window*: Load the quickmark in a new window.
Syntax: :quit [*--save*] ['session']
Quit qutebrowser.
Syntax: :reload [*--force*]
Reload the current/[count]th tab.
Syntax: :repeat 'times' 'command'
Repeat a given command.
-
'times': How many times to repeat.
-
'command': The command to run, with optional args.
Syntax: :report ['info'] ['contact']
Report a bug in qutebrowser.
Syntax: :run-with-count 'count-arg' 'command'
Run a command with the given count.
If run_with_count itself is run with a count, it multiplies count_arg.
-
'count-arg': The count to pass to the command.
-
'command': The command to run, with optional args.
Syntax: :save ['what' ...]
Save configs and state.
Syntax: :screenshot [*--rect* 'rect'] [*--force*] 'filename'
Take a screenshot of the currently shown part of the page.
The file format is automatically determined based on the given file extension.
Syntax: :scroll 'direction'
Scroll the current tab in the given direction.
Note you can use :run-with-count
to have a keybinding with a bigger scroll increment.
Syntax: :scroll-page [*--top-navigate* 'ACTION'] [*--bottom-navigate* 'ACTION'] 'x' 'y'
Scroll the frame page-wise.
-
'x': How many pages to scroll to the right.
-
'y': How many pages to scroll down.
-
*-t*, *--top-navigate*: :navigate action (prev, decrement) to run when scrolling up at the top of the page.
-
*-b*, *--bottom-navigate*: :navigate action (next, increment) to run when scrolling down at the bottom of the page.
Syntax: :scroll-px 'dx' 'dy'
Scroll the current tab by 'count * dx/dy' pixels.
-
'dx': How much to scroll in x-direction.
-
'dy': How much to scroll in y-direction.
Syntax: :scroll-to-anchor 'name'
Scroll to the given anchor in the document.
Syntax: :scroll-to-perc [*--horizontal*] ['perc']
Scroll to a specific percentage of the page.
The percentage can be given either as argument or as count. If no percentage is given, the page is scrolled to the end.
Syntax: :search [*--reverse*] ['text']
Search for a text on the current page. With no text, clear results.
Continue the search to the ([count]th) previous term.
Syntax: :selection-follow [*--tab*]
Follow the selected text.
Syntax: :session-delete [*--force*] 'name'
Delete a session.
Syntax: :session-load [*--clear*] [*--temp*] [*--force*] [*--delete*] 'name'
Load a session.
Syntax: :session-save [*--current*] [*--quiet*] [*--force*] [*--only-active-window*] [*--with-private*] [*--no-history*] ['name']
Save a session.
-
'name': The name of the session. If not given, the session configured in session.default_name is saved.
-
*-c*, *--current*: Save the current session instead of the default.
-
*-q*, *--quiet*: Don’t show confirmation message.
-
*-f*, *--force*: Force saving internal sessions (starting with an underline).
-
*-o*, *--only-active-window*: Saves only tabs of the currently active window.
-
*-p*, *--with-private*: Include private windows.
-
*-n*, *--no-history*: Don’t store tab history.
Syntax: :set [*--temp*] [*--print*] [*--pattern* 'pattern'] ['option'] ['value']
Set an option.
If the option name ends with '?' or no value is provided, the value of the option is shown instead. Using :set without any arguments opens a page where settings can be changed interactively.
-
*-t*, *--temp*: Set value temporarily until qutebrowser is closed.
-
*-p*, *--print*: Print the value after setting.
-
*-u*, *--pattern*: The URL pattern to use.
Syntax: :set-cmd-text [*--space*] [*--append*] [*--run-on-count*] 'text'
Preset the statusbar to some text.
-
*-s*, *--space*: If given, a space is added to the end.
-
*-a*, *--append*: If given, the text is appended to the current text.
-
*-r*, *--run-on-count*: If given with a count, the command is run with the given count rather than setting the command text.
Syntax: :set-mark 'key'
Set a mark at the current scroll position in the current tab.
Syntax: :spawn [*--userscript*] [*--verbose*] [*--output*] [*--output-messages*] [*--detach*] 'cmdline'
Spawn an external command.
Note that the command is not run in a shell, so things like $VAR
or > output
won’t have the desired effect.
-
*-u*, *--userscript*: Run the command as a userscript. You can use an absolute path, or store the userscript in one of those locations:
-
~/.local/share/qutebrowser/userscripts
(or$XDG_DATA_HOME
) -
/usr/share/qutebrowser/userscripts
-
-
*-v*, *--verbose*: Show notifications when the command started/exited.
-
*-o*, *--output*: Show the output in a new tab.
-
*-m*, *--output-messages*: Show the output as messages.
-
*-d*, *--detach*: Detach the command from qutebrowser so that it continues running when qutebrowser quits.
Syntax: :tab-clone [*--bg*] [*--window*] [*--private*]
Duplicate the current tab.
Syntax: :tab-close [*--prev*] [*--next*] [*--opposite*] [*--force*]
Close the current/[count]th tab.
-
*-p*, *--prev*: Force selecting the tab before the current tab.
-
*-n*, *--next*: Force selecting the tab after the current tab.
-
*-o*, *--opposite*: Force selecting the tab in the opposite direction of what’s configured in 'tabs.select_on_remove'.
-
*-f*, *--force*: Avoid confirmation for pinned tabs.
Syntax: :tab-focus [*--no-last*] ['index']
Select the tab given as argument/[count].
If neither count nor index are given, it behaves like tab-next. If both are given, use count.
-
'index': The tab index to focus, starting with 1. The special value
last
focuses the last focused tab (regardless of count), andstack-prev
/stack-next
traverse a stack of visited tabs. Negative indices count from the end, such that -1 is the last tab.
Syntax: :tab-give [*--keep*] [*--private*] ['win-id']
Give the current tab to a new or existing window if win_id given.
If no win_id is given, the tab will get detached into a new window.
-
*-k*, *--keep*: If given, keep the old tab around.
-
*-p*, *--private*: If the tab should be detached into a private instance.
Syntax: :tab-move ['index']
Move the current tab according to the argument and [count].
If neither is given, move it to the first position.
-
'index':
+
or-
to move relative to the current tab by count, or a default of 1 space. A tab index to move to that index.start
andend
to move to the start and the end.
Switch to the next tab, or switch [count] tabs forward.
Syntax: :tab-only [*--prev*] [*--next*] [*--pinned* 'behavior'] [*--force*]
Close all tabs except for the current one.
Pin/Unpin the current/[count]th tab.
Pinning a tab shrinks it to the size of its title text. Attempting to close a pinned tab will cause a confirmation, unless --force is passed.
Switch to the previous tab, or switch [count] tabs back.
Syntax: :tab-select ['index']
Select tab by index or url/title best match.
Focuses window if necessary when index is given. If both index and count are given, use count. With neither index nor count given, open the qute://tabs page.
-
'index': The [win_id/]index of the tab to focus. Or a substring in which case the closest match will be focused.
Syntax: :tab-take [*--keep*] 'index'
Take a tab from another window.
-
'index': The [win_id/]index of the tab to take. Or a substring in which case the closest match will be taken.
Syntax: :unbind [*--mode* 'mode'] 'key'
Unbind a keychain.
-
'key': The keychain to unbind. See the help for
:bind
for the correct syntax for keychains.
Syntax: :undo [*--window*] ['depth']
Re-open the last closed tab(s) or window.
Syntax: :version [*--paste*]
Show version information.
Syntax: :view-source [*--edit*] [*--pygments*]
Show the source of the current page in a new tab.
-
*-e*, *--edit*: Edit the source in the editor instead of opening a tab.
-
*-p*, *--pygments*: Use pygments to generate the view. This is always the case for QtWebKit. For QtWebEngine it may display slightly different source. Some JavaScript processing may be applied. Needs the optional Pygments dependency for highlighting.
Syntax: :yank [*--sel*] [*--keep*] [*--quiet*] ['what'] ['inline']
Yank (copy) something to the clipboard or primary selection.
-
'what': What to yank.
-
url
: The current URL. -
pretty-url
: The URL in pretty decoded form. -
title
: The current page’s title. -
domain
: The current scheme, domain, and port number. -
selection
: The selection under the cursor. -
inline
: Yank the text contained in the 'inline' argument.
-
-
'inline': A block of text, to be yanked if 'what' is inline and ignored otherwise.
Syntax: :zoom [*--quiet*] ['level']
Set the zoom level for the current tab.
The zoom can be given as argument or as [count]. If neither is given, the zoom is set to the default zoom. If both are given, use [count].
Syntax: :zoom-in [*--quiet*]
Increase the zoom level for the current tab.
Command | Description |
---|---|
Execute the command currently in the commandline. |
|
Go forward in the commandline history. |
|
Go back in the commandline history. |
|
Delete the current completion item. |
|
Shift the focus of the completion menu to another item. |
|
Yank the current completion item into the clipboard. |
|
Follow a hint. |
|
Leave the mode we’re currently in. |
|
Move the cursor or selection to the end of the document. |
|
Move the cursor or selection to the end of line. |
|
Move the cursor or selection to the end of next block. |
|
Move the cursor or selection to the end of previous block. |
|
Move the cursor or selection to the end of the word. |
|
Move the cursor or selection to the next char. |
|
Move the cursor or selection to the next line. |
|
Move the cursor or selection to the next word. |
|
Move the cursor or selection to the previous char. |
|
Move the cursor or selection to the prev line. |
|
Move the cursor or selection to the previous word. |
|
Move the cursor or selection to the start of the document. |
|
Move the cursor or selection to the start of the line. |
|
Move the cursor or selection to the start of next block. |
|
Move the cursor or selection to the start of previous block. |
|
Accept the current prompt. |
|
Choose a location using a configured external picker. |
|
Shift the focus of the prompt file completion menu to another item. |
|
Immediately open a download. |
|
Yank URL to clipboard or primary selection. |
|
Move back a character. |
|
Delete the character before the cursor. |
|
Remove chars from the cursor to the beginning of the word. |
|
Move back to the start of the current or previous word. |
|
Move to the start of the line. |
|
Delete the character after the cursor. |
|
Move to the end of the line. |
|
Delete backwards using the OS path separator as boundary. |
|
Move forward a character. |
|
Move forward to the end of the next word. |
|
Remove chars from the cursor to the end of the line. |
|
Remove chars from the cursor to the end of the current word. |
|
Delete backwards using the given characters as boundaries. |
|
Remove chars backward from the cursor to the beginning of the line. |
|
Paste the most recently deleted text. |
|
Drop selection and keep selection mode enabled. |
|
Swap the stationary and moving end of the current selection. |
|
Toggle caret selection mode. |
Syntax: :command-accept [*--rapid*]
Execute the command currently in the commandline.
Syntax: :completion-item-focus [*--history*] 'which'
Shift the focus of the completion menu to another item.
-
'which': 'next', 'prev', 'next-category', 'prev-category', 'next-page', or 'prev-page'.
Syntax: :completion-item-yank [*--sel*]
Yank the current completion item into the clipboard.
Syntax: :hint-follow [*--select*] ['keystring']
Follow a hint.
Move the cursor or selection to the end of next block.
Move the cursor or selection to the end of previous block.
Move the cursor or selection to the end of the word.
Move the cursor or selection to the start of next block.
Move the cursor or selection to the start of previous block.
Syntax: :prompt-accept [*--save*] ['value']
Accept the current prompt.
-
'value': If given, uses this value instead of the entered one. For boolean prompts, "yes"/"no" are accepted as value.
Choose a location using a configured external picker.
This spawns the external fileselector configured via fileselect.folder.command
.
Syntax: :prompt-item-focus 'which'
Shift the focus of the prompt file completion menu to another item.
Syntax: :prompt-open-download [*--pdfjs*] ['cmdline']
Immediately open a download.
If no specific command is given, this will use the system’s default application to open the file.
-
'cmdline': The command which should be used to open the file. A
{}
is expanded to the temporary file name. If no{}
is present, the filename is automatically appended to the cmdline.
Syntax: :prompt-yank [*--sel*]
Yank URL to clipboard or primary selection.
Delete the character before the cursor.
This acts like readline’s backward-delete-char.
Remove chars from the cursor to the beginning of the word.
This acts like readline’s backward-kill-word. Any non-alphanumeric character is considered a word delimiter.
Move back to the start of the current or previous word.
This acts like readline’s backward-word.
Delete backwards using the OS path separator as boundary.
For behavior that matches readline’s unix-filename-rubout
exactly, use :rl-rubout "/ "
instead. This command uses the OS path separator (i.e. \
on Windows) and ignores spaces.
Remove chars from the cursor to the end of the line.
This acts like readline’s kill-line.
Remove chars from the cursor to the end of the current word.
This acts like readline’s kill-word.
Syntax: :rl-rubout 'delim'
Delete backwards using the given characters as boundaries.
With " ", this acts like readline’s unix-word-rubout
. With " /", this acts like readline’s unix-filename-rubout
, but consider using :rl-filename-rubout
instead: It uses the OS path separator (i.e. \
on Windows) and ignores spaces.
Remove chars backward from the cursor to the beginning of the line.
This acts like readline’s unix-line-discard.
These commands are mainly intended for debugging. They are hidden if qutebrowser was started without the --debug
-flag.
Command | Description |
---|---|
Print a list of all objects to the debug log. |
|
Print LRU cache stats. |
|
Clear remembered SSL error answers. |
|
Show the debugging console. |
|
Crash for debugging purposes. |
|
Dump the history to a file in the old pre-SQL format. |
|
Dump the current page’s content to a file. |
|
Show a keytester widget. |
|
Change the number of log lines to be stored in RAM. |
|
Change the log filter for console logging. |
|
Evaluate a python string and display the results as a web page. |
|
Put data into the fake clipboard and enable logging, used for tests. |
|
Trace executed code via hunter. |
|
Execute a webaction. |
Syntax: :debug-crash ['typ']
Crash for debugging purposes.
Syntax: :debug-dump-history 'dest'
Dump the history to a file in the old pre-SQL format.
Syntax: :debug-dump-page [*--plain*] 'dest'
Dump the current page’s content to a file.
Syntax: :debug-log-capacity 'capacity'
Change the number of log lines to be stored in RAM.
Syntax: :debug-log-filter 'filters'
Change the log filter for console logging.
Syntax: :debug-pyeval [*--file*] [*--quiet*] 's'
Evaluate a python string and display the results as a web page.
-
*-f*, *--file*: Interpret s as a path to file, also implies --quiet.
-
*-q*, *--quiet*: Don’t show the output in a new tab.
Syntax: :debug-set-fake-clipboard ['s']
Put data into the fake clipboard and enable logging, used for tests.
Syntax: :debug-trace ['expr']
Trace executed code via hunter.
Syntax: :debug-webaction 'action'
Execute a webaction.
Available actions: https://doc.qt.io/archives/qt-5.5/qwebpage.html#WebAction-enum (WebKit) https://doc.qt.io/qt-5/qwebenginepage.html#WebAction-enum (WebEngine)