2016-08-08 22:54:07 +02:00
// DO NOT EDIT THIS FILE DIRECTLY!
2017-07-21 13:18:20 +02:00
// It is autogenerated by running:
2016-08-08 22:54:07 +02:00
// $ python3 scripts/dev/src2asciidoc.py
2018-01-22 21:21:51 +01:00
// vim: readonly:
2016-08-08 22:54:07 +02:00
2014-09-07 23:22:38 +02:00
= Commands
2016-08-16 13:31:53 +02:00
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.
2016-09-02 19:52:25 +02:00
For command arguments, there are also some variables you can use:
2016-08-16 13:31:53 +02:00
- `{url}` expands to the URL of the current page
- `{url:pretty}` expands to the URL in decoded format
2018-02-27 17:29:36 +01:00
- `{url:host}` expands to the host part of the URL
2016-08-16 13:31:53 +02:00
- `{clipboard}` expands to the clipboard contents
- `{primary}` expands to the primary selection contents
2016-09-02 19:52:25 +02:00
It is possible to run or bind multiple commands by separating them with `;;`.
2014-09-07 23:22:38 +02:00
== Normal commands
.Quick reference
[options="header",width="75%",cols="25%,75%"]
|==============
|Command|Description
2014-11-24 21:05:09 +01:00
|<<adblock-update,adblock-update>>|Update the adblock block lists.
2014-09-07 23:22:38 +02:00
|<<back,back>>|Go back in the history of the current tab.
2014-09-09 23:13:43 +02:00
|<<bind,bind>>|Bind a key to a command.
2016-07-11 20:55:24 +02:00
|<<bookmark-add,bookmark-add>>|Save the current page as a bookmark, or a specific url.
2015-07-29 12:46:33 +02:00
|<<bookmark-del,bookmark-del>>|Delete a bookmark.
|<<bookmark-load,bookmark-load>>|Load a bookmark.
2016-03-30 01:44:56 +02:00
|<<buffer,buffer>>|Select tab by index or url/title best match.
2017-11-13 07:59:54 +01:00
|<<clear-keychain,clear-keychain>>|Clear the currently entered key chain.
|<<clear-messages,clear-messages>>|Clear all message notifications.
|<<click-element,click-element>>|Click the element matching the given filter.
2014-10-06 20:46:01 +02:00
|<<close,close>>|Close the current window.
2017-10-03 12:44:22 +02:00
|<<config-clear,config-clear>>|Set all settings back to their default.
2017-10-03 07:09:32 +02:00
|<<config-cycle,config-cycle>>|Cycle an option between multiple values.
2017-10-03 18:54:40 +02:00
|<<config-edit,config-edit>>|Open the config.py file in the editor.
2017-10-03 16:28:11 +02:00
|<<config-source,config-source>>|Read a config.py file.
2017-10-03 12:44:22 +02:00
|<<config-unset,config-unset>>|Unset an option.
2017-10-04 11:48:46 +02:00
|<<config-write-py,config-write-py>>|Write the current configuration to a config.py file.
2015-02-09 17:38:50 +01:00
|<<download,download>>|Download a given URL, or current page if no URL given.
|<<download-cancel,download-cancel>>|Cancel the last/[count]th download.
2015-11-03 19:27:02 +01:00
|<<download-clear,download-clear>>|Remove all finished downloads from the list.
2015-02-12 23:30:31 +01:00
|<<download-delete,download-delete>>|Delete the last/[count]th download from disk.
|<<download-open,download-open>>|Open the last/[count]th download.
|<<download-remove,download-remove>>|Remove the last/[count]th download from the list.
2015-11-09 07:17:54 +01:00
|<<download-retry,download-retry>>|Retry the first failed/[count]th download.
2017-11-19 19:57:44 +01:00
|<<edit-command,edit-command>>|Open an editor to modify the current command.
2016-04-05 18:38:56 +02:00
|<<edit-url,edit-url>>|Navigate to a url formed in an external editor.
2017-11-13 07:59:54 +01:00
|<<enter-mode,enter-mode>>|Enter a key mode.
2015-11-20 07:05:16 +01:00
|<<fake-key,fake-key>>|Send a fake keypress or key string to the website or qutebrowser.
2017-11-13 07:59:54 +01:00
|<<follow-selected,follow-selected>>|Follow the selected text.
2014-09-07 23:22:38 +02:00
|<<forward,forward>>|Go forward in the history of the current tab.
2014-12-29 22:01:27 +01:00
|<<fullscreen,fullscreen>>|Toggle fullscreen mode.
2017-12-06 11:12:25 +01:00
|<<greasemonkey-reload,greasemonkey-reload>>|Re-read Greasemonkey scripts from disk.
2014-09-08 06:57:22 +02:00
|<<help,help>>|Show help about a command or setting.
2014-09-07 23:22:38 +02:00
|<<hint,hint>>|Start hinting.
2017-02-11 21:17:16 +01:00
|<<history,history>>|Show browsing history.
2016-06-08 16:49:07 +02:00
|<<history-clear,history-clear>>|Clear all browsing history.
2014-09-07 23:22:38 +02:00
|<<home,home>>|Open main startpage in current tab.
2016-08-10 21:55:16 +02:00
|<<insert-text,insert-text>>|Insert text at cursor position.
2014-09-07 23:22:38 +02:00
|<<inspector,inspector>>|Toggle the web inspector.
2015-06-05 20:07:47 +02:00
|<<jseval,jseval>>|Evaluate a JavaScript string.
2017-11-13 07:59:54 +01:00
|<<jump-mark,jump-mark>>|Jump to the mark named by `key`.
2014-09-07 23:22:38 +02:00
|<<later,later>>|Execute a command after some time.
2017-11-13 07:59:54 +01:00
|<<message-error,message-error>>|Show an error message in the statusbar.
|<<message-info,message-info>>|Show an info message in the statusbar.
|<<message-warning,message-warning>>|Show a warning message in the statusbar.
2016-05-15 11:21:02 +02:00
|<<messages,messages>>|Show a log of past messages.
2014-09-22 21:13:42 +02:00
|<<navigate,navigate>>|Open typical prev/next links or navigate using the URL path.
2017-11-13 07:59:54 +01:00
|<<nop,nop>>|Do nothing.
2014-09-07 23:22:38 +02:00
|<<open,open>>|Open a URL in the current/[count]th tab.
2017-11-02 19:30:17 +01:00
|<<open-editor,open-editor>>|Open an external editor with the currently selected form field.
2014-09-07 23:22:38 +02:00
|<<print,print>>|Print the current/[count]th tab.
|<<quickmark-add,quickmark-add>>|Add a new quickmark.
2014-12-10 23:30:04 +01:00
|<<quickmark-del,quickmark-del>>|Delete a quickmark.
2014-09-07 23:22:38 +02:00
|<<quickmark-load,quickmark-load>>|Load a quickmark.
|<<quickmark-save,quickmark-save>>|Save the current page as a quickmark.
|<<quit,quit>>|Quit qutebrowser.
2016-10-06 22:24:04 +02:00
|<<record-macro,record-macro>>|Start or stop recording a macro.
2014-09-07 23:22:38 +02:00
|<<reload,reload>>|Reload the current/[count]th tab.
2014-10-08 22:20:57 +02:00
|<<repeat,repeat>>|Repeat a given command.
2017-11-13 07:59:54 +01:00
|<<repeat-command,repeat-command>>|Repeat the last executed command.
2014-09-07 23:22:38 +02:00
|<<report,report>>|Report a bug in qutebrowser.
|<<restart,restart>>|Restart qutebrowser while keeping existing tabs open.
2016-10-06 22:24:04 +02:00
|<<run-macro,run-macro>>|Run a recorded macro.
2017-11-13 07:59:54 +01:00
|<<run-with-count,run-with-count>>|Run a command with the given count.
2015-01-31 22:56:23 +01:00
|<<save,save>>|Save configs and state.
2017-11-13 07:59:54 +01:00
|<<scroll,scroll>>|Scroll the current tab in the given direction.
|<<scroll-page,scroll-page>>|Scroll the frame page-wise.
|<<scroll-px,scroll-px>>|Scroll the current tab by 'count * dx/dy' pixels.
2018-03-19 19:18:33 +01:00
|<<scroll-to-anchor,scroll-to-anchor>>|Scroll to the given anchor in the document.
2017-11-13 07:59:54 +01:00
|<<scroll-to-perc,scroll-to-perc>>|Scroll to a specific percentage of the page.
2015-04-03 14:39:47 +02:00
|<<search,search>>|Search for a text on the current page. With no text, clear results.
2017-11-13 07:59:54 +01:00
|<<search-next,search-next>>|Continue the search to the ([count]th) next term.
|<<search-prev,search-prev>>|Continue the search to the ([count]th) previous term.
2015-02-16 20:26:09 +01:00
|<<session-delete,session-delete>>|Delete a session.
|<<session-load,session-load>>|Load a session.
|<<session-save,session-save>>|Save a session.
2014-09-07 23:22:38 +02:00
|<<set,set>>|Set an option.
|<<set-cmd-text,set-cmd-text>>|Preset the statusbar to some text.
2017-11-13 07:59:54 +01:00
|<<set-mark,set-mark>>|Set a mark at the current scroll position in the current tab.
2014-09-07 23:22:38 +02:00
|<<spawn,spawn>>|Spawn a command in a shell.
|<<stop,stop>>|Stop loading in the current/[count]th tab.
2014-09-27 23:14:53 +02:00
|<<tab-clone,tab-clone>>|Duplicate the current tab.
2014-09-07 23:22:38 +02:00
|<<tab-close,tab-close>>|Close the current/[count]th tab.
|<<tab-focus,tab-focus>>|Select the tab given as argument/[count].
2017-10-04 04:35:40 +02:00
|<<tab-give,tab-give>>|Give the current tab to a new or existing window if win_id given.
2016-08-01 16:18:08 +02:00
|<<tab-move,tab-move>>|Move the current tab according to the argument and [count].
2018-05-10 03:33:52 +02:00
|<<tab-mute,tab-mute>>|Mute/Unmute the current/[count]th tab.
2014-09-07 23:22:38 +02:00
|<<tab-next,tab-next>>|Switch to the next tab, or switch [count] tabs forward.
|<<tab-only,tab-only>>|Close all tabs except for the current one.
2017-05-17 06:03:33 +02:00
|<<tab-pin,tab-pin>>|Pin/Unpin the current/[count]th tab.
2014-09-07 23:22:38 +02:00
|<<tab-prev,tab-prev>>|Switch to the previous tab, or switch [count] tabs back.
2017-10-03 20:05:00 +02:00
|<<tab-take,tab-take>>|Take a tab from another window.
2014-09-09 23:13:43 +02:00
|<<unbind,unbind>>|Unbind a keychain.
2017-11-06 19:32:10 +01:00
|<<undo,undo>>|Re-open the last closed tab or tabs.
2017-10-04 06:22:51 +02:00
|<<version,version>>|Show version information.
2017-02-04 22:29:45 +01:00
|<<view-source,view-source>>|Show the source of the current page in a new tab.
2016-08-16 11:07:57 +02:00
|<<window-only,window-only>>|Close all windows except for the current one.
2016-08-07 11:09:16 +02:00
|<<yank,yank>>|Yank something to the clipboard or primary selection.
2014-09-07 23:22:38 +02:00
|<<zoom,zoom>>|Set the zoom level for the current tab.
|<<zoom-in,zoom-in>>|Increase the zoom level for the current tab.
|<<zoom-out,zoom-out>>|Decrease the zoom level for the current tab.
|==============
2014-11-24 21:05:09 +01:00
[[adblock-update]]
=== adblock-update
Update the adblock block lists.
2016-09-02 19:52:25 +02:00
This updates `~/.local/share/qutebrowser/blocked-hosts` with downloaded host lists and re-reads `~/.config/qutebrowser/blocked-hosts`.
2016-03-29 06:59:23 +02:00
2014-09-07 23:22:38 +02:00
[[back]]
=== back
2014-10-06 20:46:01 +02:00
Syntax: +:back [*--tab*] [*--bg*] [*--window*]+
2014-09-27 23:14:53 +02:00
2014-09-07 23:22:38 +02:00
Go back in the history of the current tab.
2014-09-27 23:14:53 +02:00
==== optional arguments
* +*-t*+, +*--tab*+: Go back in a new tab.
* +*-b*+, +*--bg*+: Go back in a background tab.
2014-10-06 20:46:01 +02:00
* +*-w*+, +*--window*+: Go back in a new window.
2014-09-27 23:14:53 +02:00
2014-09-13 00:33:15 +02:00
==== count
How many pages to go back.
2014-09-09 23:13:43 +02:00
[[bind]]
=== bind
2018-01-18 07:57:31 +01:00
Syntax: +:bind [*--mode* 'mode'] [*--default*] ['key'] ['command']+
2014-09-09 23:13:43 +02:00
Bind a key to a command.
2018-01-18 07:57:31 +01:00
If no command is given, show the current binding for the given key. Using :bind without any arguments opens a page showing all keybindings.
2014-09-09 23:13:43 +02:00
==== positional arguments
2018-03-04 20:28:46 +01:00
* +'key'+: The keychain to bind. Examples of valid keychains are `gC`, `<Ctrl-X>` or `<Ctrl-C>a`.
2018-01-18 07:57:31 +01:00
* +'command'+: The command to execute, with optional args.
2014-09-14 23:25:56 +02:00
==== optional arguments
2017-09-12 15:10:27 +02:00
* +*-m*+, +*--mode*+: A comma-separated list of modes to bind the key in (default: `normal`). See `:help bindings.commands` for the
available modes.
2014-09-09 23:13:43 +02:00
2017-10-08 21:48:48 +02:00
* +*-d*+, +*--default*+: If given, restore a default binding.
2014-09-09 23:13:43 +02:00
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
* With this command, +;;+ is interpreted literally instead of splitting off a second command.
2016-08-04 13:21:19 +02:00
* This command does not replace variables like +\{url\}+.
2015-04-06 17:32:33 +02:00
2015-07-29 12:46:33 +02:00
[[bookmark-add]]
=== bookmark-add
2016-07-26 17:30:07 +02:00
Syntax: +:bookmark-add [*--toggle*] ['url'] ['title']+
2016-07-11 20:55:24 +02:00
Save the current page as a bookmark, or a specific url.
2016-07-23 15:47:31 +02:00
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 link:qute://bookmarks[bookmarks page].
2016-07-11 20:55:24 +02:00
==== positional arguments
2018-01-28 13:05:49 +01:00
* +'url'+: url to save as a bookmark. If not given, use url of current page.
2016-07-11 20:55:24 +02:00
* +'title'+: title of the new bookmark.
2015-07-29 12:46:33 +02:00
2016-07-26 17:30:07 +02:00
==== optional arguments
* +*-t*+, +*--toggle*+: remove the bookmark instead of raising an error if it already exists.
2015-07-29 12:46:33 +02:00
[[bookmark-del]]
=== bookmark-del
2016-07-26 08:36:16 +02:00
Syntax: +:bookmark-del ['url']+
2015-07-29 12:46:33 +02:00
Delete a bookmark.
==== positional arguments
2016-07-26 08:36:16 +02:00
* +'url'+: The url of the bookmark to delete. If not given, use the current page's url.
2015-07-29 12:46:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
[[bookmark-load]]
=== bookmark-load
2016-07-26 21:28:14 +02:00
Syntax: +:bookmark-load [*--tab*] [*--bg*] [*--window*] [*--delete*] 'url'+
2015-07-29 12:46:33 +02:00
Load a bookmark.
==== positional arguments
* +'url'+: The url of the bookmark to load.
==== optional arguments
* +*-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.
2016-07-26 21:28:14 +02:00
* +*-d*+, +*--delete*+: Whether to delete the bookmark afterwards.
2015-07-29 12:46:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2016-03-30 01:44:56 +02:00
[[buffer]]
=== buffer
2017-10-03 10:13:16 +02:00
Syntax: +:buffer ['index']+
2016-03-30 01:44:56 +02:00
Select tab by index or url/title best match.
2018-02-12 23:00:26 +01:00
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.
2016-03-30 01:44:56 +02:00
==== positional arguments
* +'index'+: The [win_id/]index of the tab to focus. Or a substring in which case the closest match will be focused.
2017-09-23 10:26:53 +02:00
==== count
The tab index to focus, starting with 1.
2017-11-06 07:06:27 +01:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2017-11-13 07:59:54 +01:00
[[clear-keychain]]
=== clear-keychain
Clear the currently entered key chain.
[[clear-messages]]
=== clear-messages
Clear all message notifications.
[[click-element]]
=== click-element
Syntax: +:click-element [*--target* 'target'] [*--force-event*] 'filter' 'value'+
Click the element matching the given filter.
The given filter needs to result in exactly one element, otherwise, an error is shown.
==== positional arguments
* +'filter'+: How to filter the elements. id: Get an element based on its ID.
* +'value'+: The value to filter for.
==== optional arguments
* +*-t*+, +*--target*+: How to open the clicked element (normal/tab/tab-bg/window).
* +*-f*+, +*--force-event*+: Force generating a fake click event.
2014-10-06 20:46:01 +02:00
[[close]]
=== close
Close the current window.
2017-10-03 12:44:22 +02:00
[[config-clear]]
=== config-clear
Syntax: +:config-clear [*--save*]+
Set all settings back to their default.
==== optional arguments
* +*-s*+, +*--save*+: If given, all configuration in autoconfig.yml is also removed.
2017-10-03 07:09:32 +02:00
[[config-cycle]]
=== config-cycle
2018-06-10 01:45:42 +02:00
Syntax: +:config-cycle [*--pattern* 'pattern'] [*--temp*] [*--print*]
'option' ['values' ['values' ...]]+
2017-10-03 07:09:32 +02:00
Cycle an option between multiple values.
==== positional arguments
* +'option'+: The name of the option.
* +'values'+: The values to cycle through.
==== optional arguments
2018-02-20 17:55:40 +01:00
* +*-u*+, +*--pattern*+: The URL pattern to use.
2017-10-03 07:09:32 +02:00
* +*-t*+, +*--temp*+: Set value temporarily until qutebrowser is closed.
* +*-p*+, +*--print*+: Print the value after setting.
2017-10-03 18:54:40 +02:00
[[config-edit]]
=== config-edit
Syntax: +:config-edit [*--no-source*]+
Open the config.py file in the editor.
==== optional arguments
* +*-n*+, +*--no-source*+: Don't re-source the config file after editing.
2017-10-03 16:28:11 +02:00
[[config-source]]
=== config-source
Syntax: +:config-source [*--clear*] ['filename']+
Read a config.py file.
==== positional arguments
* +'filename'+: The file to load. If not given, loads the default config.py.
==== optional arguments
* +*-c*+, +*--clear*+: Clear current settings first.
2017-10-03 12:44:22 +02:00
[[config-unset]]
=== config-unset
Syntax: +:config-unset [*--temp*] 'option'+
Unset an option.
This sets an option back to its default and removes it from autoconfig.yml.
==== positional arguments
* +'option'+: The name of the option.
==== optional arguments
* +*-t*+, +*--temp*+: Don't touch autoconfig.yml.
2017-10-04 11:48:46 +02:00
[[config-write-py]]
=== config-write-py
Syntax: +:config-write-py [*--force*] [*--defaults*] ['filename']+
Write the current configuration to a config.py file.
==== positional arguments
* +'filename'+: The file to write to, or not given for the default config.py.
==== optional arguments
* +*-f*+, +*--force*+: Force overwriting existing files.
* +*-d*+, +*--defaults*+: Write the defaults instead of values configured via :set.
2014-11-20 06:25:01 +01:00
[[download]]
=== download
2017-12-14 09:06:46 +01:00
Syntax: +:download [*--mhtml*] [*--dest* 'dest'] ['url']+
2014-11-20 06:25:01 +01:00
2015-02-09 17:38:50 +01:00
Download a given URL, or current page if no URL given.
2014-11-20 06:25:01 +01:00
==== positional arguments
2015-02-09 17:38:50 +01:00
* +'url'+: The URL to download. If not given, download the current page.
2015-10-07 23:13:17 +02:00
==== optional arguments
2015-10-07 23:22:21 +02:00
* +*-m*+, +*--mhtml*+: Download the current page and all assets as mhtml file.
2015-10-07 23:13:17 +02:00
* +*-d*+, +*--dest*+: The file path to write the download to, or not given to ask.
2014-11-20 06:25:01 +01:00
2015-02-09 17:38:50 +01:00
[[download-cancel]]
=== download-cancel
2016-03-14 19:05:15 +01:00
Syntax: +:download-cancel [*--all*]+
2015-02-09 17:38:50 +01:00
Cancel the last/[count]th download.
2016-03-14 19:05:15 +01:00
==== optional arguments
* +*-a*+, +*--all*+: Cancel all running downloads
2015-02-09 17:38:50 +01:00
==== count
The index of the download to cancel.
2015-11-03 19:27:02 +01:00
[[download-clear]]
=== download-clear
Remove all finished downloads from the list.
2015-02-12 23:30:31 +01:00
[[download-delete]]
=== download-delete
Delete the last/[count]th download from disk.
==== count
2016-03-14 19:05:36 +01:00
The index of the download to delete.
2015-02-12 23:30:31 +01:00
2015-02-09 17:38:50 +01:00
[[download-open]]
=== download-open
2016-08-03 18:06:28 +02:00
Syntax: +:download-open ['cmdline']+
2015-02-12 23:30:31 +01:00
Open the last/[count]th download.
2015-02-09 17:38:50 +01:00
2016-08-03 18:06:28 +02:00
If no specific command is given, this will use the system's default application to open the file.
==== positional arguments
2016-08-04 12:47:20 +02:00
* +'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.
2016-08-03 18:06:28 +02:00
2015-02-09 17:38:50 +01:00
==== count
2016-03-14 19:05:36 +01:00
The index of the download to open.
2015-02-09 17:38:50 +01:00
2016-08-03 18:06:28 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2015-02-09 17:38:50 +01:00
[[download-remove]]
=== download-remove
Syntax: +:download-remove [*--all*]+
2015-02-12 23:30:31 +01:00
Remove the last/[count]th download from the list.
2015-02-09 17:38:50 +01:00
==== optional arguments
2016-03-14 19:11:41 +01:00
* +*-a*+, +*--all*+: Remove all finished downloads.
2015-02-09 17:38:50 +01:00
==== count
2016-03-14 19:05:36 +01:00
The index of the download to remove.
2014-09-07 23:22:38 +02:00
2015-11-09 07:17:54 +01:00
[[download-retry]]
=== download-retry
Retry the first failed/[count]th download.
==== count
2016-03-14 19:05:36 +01:00
The index of the download to retry.
2015-11-09 07:17:54 +01:00
2017-11-19 19:57:44 +01:00
[[edit-command]]
=== edit-command
Syntax: +:edit-command [*--run*]+
Open an editor to modify the current command.
==== optional arguments
* +*-r*+, +*--run*+: Run the command if the editor exits successfully.
2016-04-05 02:33:08 +02:00
[[edit-url]]
=== edit-url
2017-10-30 08:26:47 +01:00
Syntax: +:edit-url [*--bg*] [*--tab*] [*--window*] [*--private*] [*--related*] ['url']+
2016-04-05 02:33:08 +02:00
2016-04-05 18:38:56 +02:00
Navigate to a url formed in an external editor.
2017-07-01 22:58:50 +02:00
The editor which should be launched can be configured via the `editor.command` config option.
2016-04-05 18:38:56 +02:00
==== positional arguments
* +'url'+: URL to edit; defaults to the current page url.
2016-04-05 02:33:08 +02:00
==== optional arguments
* +*-b*+, +*--bg*+: Open in a new background tab.
* +*-t*+, +*--tab*+: Open in a new tab.
* +*-w*+, +*--window*+: Open in a new window.
2017-10-30 08:26:47 +01:00
* +*-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).
2016-04-05 02:33:08 +02:00
2017-11-13 07:59:54 +01:00
[[enter-mode]]
=== enter-mode
Syntax: +:enter-mode 'mode'+
Enter a key mode.
==== positional arguments
* +'mode'+: The mode to enter.
2015-11-20 07:05:16 +01:00
[[fake-key]]
=== fake-key
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
==== positional arguments
* +'keystring'+: The keystring to send.
==== optional arguments
* +*-g*+, +*--global*+: If given, the keys are sent to the qutebrowser UI.
2017-11-13 07:59:54 +01:00
[[follow-selected]]
=== follow-selected
Syntax: +:follow-selected [*--tab*]+
Follow the selected text.
==== optional arguments
* +*-t*+, +*--tab*+: Load the selected link in a new tab.
2014-09-07 23:22:38 +02:00
[[forward]]
=== forward
2014-10-06 20:46:01 +02:00
Syntax: +:forward [*--tab*] [*--bg*] [*--window*]+
2014-09-27 23:14:53 +02:00
2014-09-07 23:22:38 +02:00
Go forward in the history of the current tab.
2014-09-27 23:14:53 +02:00
==== optional arguments
* +*-t*+, +*--tab*+: Go forward in a new tab.
2014-10-06 20:46:01 +02:00
* +*-b*+, +*--bg*+: Go forward in a background tab.
* +*-w*+, +*--window*+: Go forward in a new window.
2014-09-27 23:14:53 +02:00
2014-09-13 00:33:15 +02:00
==== count
How many pages to go forward.
2014-12-29 22:01:27 +01:00
[[fullscreen]]
=== fullscreen
2017-01-02 20:02:02 +01:00
Syntax: +:fullscreen [*--leave*]+
2014-12-29 22:01:27 +01:00
Toggle fullscreen mode.
2017-01-02 20:02:02 +01:00
==== optional arguments
* +*-l*+, +*--leave*+: Only leave fullscreen if it was entered by the page.
2017-12-06 11:12:25 +01:00
[[greasemonkey-reload]]
=== greasemonkey-reload
2018-03-06 10:49:59 +01:00
Syntax: +:greasemonkey-reload [*--force*]+
2017-12-06 11:12:25 +01:00
Re-read Greasemonkey scripts from disk.
The scripts are read from a 'greasemonkey' subdirectory in qutebrowser's data directory (see `:version`).
2018-03-06 10:49:59 +01:00
==== optional arguments
* +*-f*+, +*--force*+: For any scripts that have required dependencies, re-download them.
2014-09-08 06:57:22 +02:00
[[help]]
=== help
2014-10-06 20:46:01 +02:00
Syntax: +:help [*--tab*] [*--bg*] [*--window*] ['topic']+
2014-09-08 06:57:22 +02:00
Show help about a command or setting.
==== positional arguments
* +'topic'+: The topic to show help for.
- :__command__ for commands.
2017-07-01 22:58:50 +02:00
- __section__.__option__ for settings.
2014-09-08 06:57:22 +02:00
2014-10-06 20:46:01 +02:00
==== optional arguments
* +*-t*+, +*--tab*+: Open in a new tab.
* +*-b*+, +*--bg*+: Open in a background tab.
* +*-w*+, +*--window*+: Open in a new window.
2014-09-07 23:22:38 +02:00
[[hint]]
=== hint
2018-06-10 01:45:42 +02:00
Syntax: +:hint [*--mode* 'mode'] [*--add-history*] [*--rapid*] [*--first*]
['group'] ['target'] ['args' ['args' ...]]+
2014-09-07 23:22:38 +02:00
Start hinting.
==== positional arguments
2016-08-08 16:56:19 +02:00
* +'group'+: The element types to hint.
2014-09-07 23:22:38 +02:00
- `all`: All clickable elements.
- `links`: Only links.
- `images`: Only images.
2016-06-30 17:33:51 +02:00
- `inputs`: Only input fields.
2014-09-07 23:22:38 +02:00
* +'target'+: What to do with the selected element.
2016-03-31 10:53:05 +02:00
- `normal`: Open the link.
- `current`: Open the link in the current tab.
2015-05-06 23:23:54 +02:00
- `tab`: Open the link in a new tab (honoring the
2017-07-04 15:43:54 +02:00
`tabs.background_tabs` setting).
2015-05-06 23:23:54 +02:00
- `tab-fg`: Open the link in a new foreground tab.
2014-09-07 23:22:38 +02:00
- `tab-bg`: Open the link in a new background tab.
2014-10-06 20:46:01 +02:00
- `window`: Open the link in a new window.
2014-11-01 00:54:19 +01:00
- `hover` : Hover over the link.
2014-09-07 23:22:38 +02:00
- `yank`: Yank the link to the clipboard.
- `yank-primary`: Yank the link to the primary selection.
2014-12-13 00:35:39 +01:00
- `run`: Run the argument as command.
2014-09-07 23:22:38 +02:00
- `fill`: Fill the commandline with the command given as
argument.
- `download`: Download the link.
2015-06-29 17:48:30 +02:00
- `userscript`: Call a userscript with `$QUTE_URL` set to the
2014-09-07 23:22:38 +02:00
link.
- `spawn`: Spawn a command.
2014-12-13 00:35:39 +01:00
* +'args'+: Arguments for spawn/userscript/run/fill.
2014-09-07 23:22:38 +02:00
- With `spawn`: The executable and arguments to spawn.
`{hint-url}` will get replaced by the selected
URL.
2015-10-08 10:47:52 +02:00
- With `userscript`: The userscript to execute. Either store
the userscript in
`~/.local/share/qutebrowser/userscripts`
(or `$XDG_DATA_DIR`), or use an absolute
path.
2014-09-07 23:22:38 +02:00
- With `fill`: The command to fill the statusbar with.
`{hint-url}` will get replaced by the selected
URL.
2014-12-13 00:35:39 +01:00
- With `run`: Same as `fill`.
2014-09-07 23:22:38 +02:00
2015-03-10 19:40:30 +01:00
==== optional arguments
2016-08-08 16:56:19 +02:00
* +*-m*+, +*--mode*+: The hinting mode to use.
- `number`: Use numeric hints.
2017-07-01 22:58:50 +02:00
- `letter`: Use the chars in the hints.chars setting.
2016-08-08 16:56:19 +02:00
- `word`: Use hint words based on the html elements and the
extra words.
2016-11-22 20:37:00 +01:00
* +*-a*+, +*--add-history*+: Whether to add the spawned or yanked link to the browsing history.
2017-12-15 23:00:06 +01:00
* +*-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. This is only possible with targets
`tab` (with `tabs.background_tabs=true`), `tab-bg`,
`window`, `run`, `hover`, `userscript` and `spawn`.
2018-05-08 15:22:49 +02:00
* +*-f*+, +*--first*+: Click the first hinted element without prompting.
2015-03-10 19:40:30 +01:00
2016-05-30 16:15:20 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2017-02-11 17:08:09 +01:00
[[history]]
=== history
Syntax: +:history [*--tab*] [*--bg*] [*--window*]+
2017-02-11 21:17:16 +01:00
Show browsing history.
2017-02-11 17:08:09 +01:00
==== optional arguments
* +*-t*+, +*--tab*+: Open in a new tab.
* +*-b*+, +*--bg*+: Open in a background tab.
* +*-w*+, +*--window*+: Open in a new window.
2016-06-08 11:22:54 +02:00
[[history-clear]]
=== history-clear
2017-02-09 13:19:42 +01:00
Syntax: +:history-clear [*--force*]+
2016-06-08 16:49:07 +02:00
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.
2017-02-09 13:19:42 +01:00
==== optional arguments
* +*-f*+, +*--force*+: Don't ask for confirmation.
2016-06-08 11:22:54 +02:00
2014-09-07 23:22:38 +02:00
[[home]]
=== home
Open main startpage in current tab.
2016-08-10 21:55:16 +02:00
[[insert-text]]
=== insert-text
Syntax: +:insert-text 'text'+
Insert text at cursor position.
==== positional arguments
* +'text'+: The text to insert.
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2014-09-07 23:22:38 +02:00
[[inspector]]
=== inspector
Toggle the web inspector.
2015-07-16 20:54:10 +02:00
Note: Due a bug in Qt, the inspector will show incorrect request headers in the network tab.
2015-06-05 20:07:47 +02:00
[[jseval]]
=== jseval
2017-02-25 17:26:49 +01:00
Syntax: +:jseval [*--file*] [*--quiet*] [*--world* 'world'] 'js-code'+
2015-06-05 20:07:47 +02:00
Evaluate a JavaScript string.
==== positional arguments
2017-02-25 17:26:49 +01:00
* +'js-code'+: The string/file to evaluate.
2015-06-12 11:24:04 +02:00
==== optional arguments
2017-11-22 09:35:16 +01:00
* +*-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`.
2015-06-12 11:24:04 +02:00
* +*-q*+, +*--quiet*+: Don't show resulting JS object.
2016-09-12 18:23:23 +02:00
* +*-w*+, +*--world*+: Ignored on QtWebKit. On QtWebEngine, a world ID or name to run the snippet in.
2016-09-12 15:59:17 +02:00
2015-06-05 20:07:47 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
* With this command, +;;+ is interpreted literally instead of splitting off a second command.
2017-11-13 07:59:54 +01:00
[[jump-mark]]
=== jump-mark
Syntax: +:jump-mark 'key'+
Jump to the mark named by `key`.
==== positional arguments
* +'key'+: mark identifier; capital indicates a global mark
2014-09-07 23:22:38 +02:00
[[later]]
=== later
2014-12-11 21:28:09 +01:00
Syntax: +:later 'ms' 'command'+
2014-09-07 23:22:38 +02:00
Execute a command after some time.
==== positional arguments
* +'ms'+: How many milliseconds to wait.
2014-09-14 23:11:11 +02:00
* +'command'+: The command to run, with optional args.
2014-09-07 23:22:38 +02:00
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
* With this command, +;;+ is interpreted literally instead of splitting off a second command.
2016-08-04 13:21:19 +02:00
* This command does not replace variables like +\{url\}+.
2015-04-06 17:32:33 +02:00
2017-11-13 07:59:54 +01:00
[[message-error]]
=== message-error
Syntax: +:message-error 'text'+
Show an error message in the statusbar.
==== positional arguments
* +'text'+: The text to show.
[[message-info]]
=== message-info
Syntax: +:message-info 'text'+
Show an info message in the statusbar.
==== positional arguments
* +'text'+: The text to show.
==== count
How many times to show the message
[[message-warning]]
=== message-warning
Syntax: +:message-warning 'text'+
Show a warning message in the statusbar.
==== positional arguments
* +'text'+: The text to show.
2016-05-15 11:21:02 +02:00
[[messages]]
=== messages
Syntax: +:messages [*--plain*] [*--tab*] [*--bg*] [*--window*] ['level']+
Show a log of past messages.
==== positional arguments
* +'level'+: Include messages with `level` or higher severity. Valid values: vdebug, debug, info, warning, error, critical.
==== optional arguments
* +*-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.
2014-09-22 21:01:58 +02:00
[[navigate]]
=== navigate
2014-10-06 20:46:01 +02:00
Syntax: +:navigate [*--tab*] [*--bg*] [*--window*] 'where'+
2014-09-22 21:01:58 +02:00
2014-09-22 21:13:42 +02:00
Open typical prev/next links or navigate using the URL path.
2014-09-22 21:01:58 +02:00
2014-09-22 21:13:42 +02:00
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.
2014-09-22 21:01:58 +02:00
==== positional arguments
* +'where'+: What to open.
- `prev`: Open a _previous_ link.
- `next`: Open a _next_ link.
2014-09-22 21:13:42 +02:00
- `up`: Go up a level in the current URL.
2014-09-22 21:51:09 +02:00
- `increment`: Increment the last number in the URL.
2018-01-25 11:03:45 +01:00
Uses the
link:settings.html#url.incdec_segments[url.incdec_segments]
config option.
2014-09-22 21:51:09 +02:00
- `decrement`: Decrement the last number in the URL.
2018-01-25 11:03:45 +01:00
Uses the
link:settings.html#url.incdec_segments[url.incdec_segments]
config option.
2014-09-22 21:01:58 +02:00
2014-09-07 23:22:38 +02:00
==== optional arguments
2014-09-13 00:22:27 +02:00
* +*-t*+, +*--tab*+: Open in a new tab.
2014-10-06 20:46:01 +02:00
* +*-b*+, +*--bg*+: Open in a background tab.
* +*-w*+, +*--window*+: Open in a new window.
2014-09-07 23:22:38 +02:00
2016-08-16 03:22:22 +02:00
==== count
For `increment` and `decrement`, the number to change the URL by. For `up`, the number of levels to go up in the URL.
2016-08-16 11:22:29 +02:00
2017-11-13 07:59:54 +01:00
[[nop]]
=== nop
Do nothing.
2014-09-07 23:22:38 +02:00
[[open]]
=== open
2018-06-10 01:45:42 +02:00
Syntax: +:open [*--related*] [*--bg*] [*--tab*] [*--window*] [*--secure*] [*--private*]
['url']+
2014-09-07 23:22:38 +02:00
Open a URL in the current/[count]th tab.
2016-08-06 22:03:50 +02:00
If the URL contains newlines, each line gets opened in its own tab.
2014-09-07 23:22:38 +02:00
==== positional arguments
2014-09-13 00:22:27 +02:00
* +'url'+: The URL to open.
2014-09-07 23:22:38 +02:00
==== optional arguments
2017-07-01 22:58:50 +02:00
* +*-r*+, +*--related*+: If opening a new tab, position the tab as related to the current one (like clicking on a link).
2016-08-03 09:22:59 +02:00
2014-09-13 00:22:27 +02:00
* +*-b*+, +*--bg*+: Open in a new background tab.
* +*-t*+, +*--tab*+: Open in a new tab.
2014-10-06 20:46:01 +02:00
* +*-w*+, +*--window*+: Open in a new window.
2017-03-27 07:09:48 +02:00
* +*-s*+, +*--secure*+: Force HTTPS.
2017-05-10 10:13:02 +02:00
* +*-p*+, +*--private*+: Open a new window in private browsing mode.
2014-09-07 23:22:38 +02:00
2014-09-13 00:33:15 +02:00
==== count
2014-09-13 00:37:07 +02:00
The tab index to open the URL in.
2014-09-13 00:33:15 +02:00
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2017-11-02 19:30:17 +01:00
[[open-editor]]
=== open-editor
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.
2014-09-07 23:22:38 +02:00
[[print]]
=== print
2016-07-11 03:42:43 +02:00
Syntax: +:print [*--preview*] [*--pdf* 'file']+
2014-09-07 23:22:38 +02:00
Print the current/[count]th tab.
==== optional arguments
2014-09-13 00:22:27 +02:00
* +*-p*+, +*--preview*+: Show preview instead of printing.
2016-07-11 03:42:43 +02:00
* +*-f*+, +*--pdf*+: The file path to write the PDF to.
2014-09-07 23:22:38 +02:00
2014-09-13 00:33:15 +02:00
==== count
2014-09-13 00:37:07 +02:00
The tab index to print.
2014-09-13 00:33:15 +02:00
2014-09-07 23:22:38 +02:00
[[quickmark-add]]
=== quickmark-add
2014-09-13 00:22:27 +02:00
Syntax: +:quickmark-add 'url' 'name'+
2014-09-07 23:22:38 +02:00
Add a new quickmark.
2016-07-23 15:47:31 +02:00
You can view all saved quickmarks on the link:qute://bookmarks[bookmarks page].
2014-09-07 23:22:38 +02:00
==== positional arguments
2014-09-13 00:22:27 +02:00
* +'url'+: The url to add as quickmark.
2014-09-07 23:22:38 +02:00
* +'name'+: The name for the new quickmark.
2014-12-10 23:30:04 +01:00
[[quickmark-del]]
=== quickmark-del
2016-07-26 08:36:16 +02:00
Syntax: +:quickmark-del ['name']+
2014-12-10 23:30:04 +01:00
Delete a quickmark.
==== positional arguments
2016-07-26 08:36:16 +02:00
* +'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).
2014-12-10 23:30:04 +01:00
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2014-09-07 23:22:38 +02:00
[[quickmark-load]]
=== quickmark-load
2014-10-06 20:46:01 +02:00
Syntax: +:quickmark-load [*--tab*] [*--bg*] [*--window*] 'name'+
2014-09-07 23:22:38 +02:00
Load a quickmark.
==== positional arguments
* +'name'+: The name of the quickmark to load.
==== optional arguments
2014-09-13 00:22:27 +02:00
* +*-t*+, +*--tab*+: Load the quickmark in a new tab.
* +*-b*+, +*--bg*+: Load the quickmark in a new background tab.
2014-10-06 20:46:01 +02:00
* +*-w*+, +*--window*+: Load the quickmark in a new window.
2014-09-07 23:22:38 +02:00
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2014-09-07 23:22:38 +02:00
[[quickmark-save]]
=== quickmark-save
Save the current page as a quickmark.
[[quit]]
=== quit
2017-07-01 22:58:50 +02:00
Syntax: +:quit [*--save*] ['session']+
2014-09-07 23:22:38 +02:00
Quit qutebrowser.
2017-07-01 22:58:50 +02:00
==== positional arguments
* +'session'+: The name of the session to save.
==== optional arguments
* +*-s*+, +*--save*+: When given, save the open windows even if auto_save.session is turned off.
2016-10-06 22:24:04 +02:00
[[record-macro]]
=== record-macro
2016-10-08 21:17:47 +02:00
Syntax: +:record-macro ['register']+
2016-10-06 22:24:04 +02:00
Start or stop recording a macro.
==== positional arguments
2016-10-08 21:17:47 +02:00
* +'register'+: Which register to store the macro in.
2016-10-06 22:24:04 +02:00
2014-09-07 23:22:38 +02:00
[[reload]]
=== reload
2014-12-29 22:04:22 +01:00
Syntax: +:reload [*--force*]+
2014-09-07 23:22:38 +02:00
Reload the current/[count]th tab.
2014-12-29 22:04:22 +01:00
==== optional arguments
* +*-f*+, +*--force*+: Bypass the page cache.
2014-09-13 00:33:15 +02:00
==== count
2014-09-13 00:37:07 +02:00
The tab index to reload.
2014-09-13 00:33:15 +02:00
2014-10-08 22:20:57 +02:00
[[repeat]]
=== repeat
2018-08-11 18:18:39 +02:00
Syntax: +:repeat [*--mulcount*] 'times' 'command'+
2014-10-08 22:20:57 +02:00
Repeat a given command.
==== positional arguments
* +'times'+: How many times to repeat.
* +'command'+: The command to run, with optional args.
2018-08-11 18:18:39 +02:00
==== optional arguments
* +*-c*+, +*--mulcount*+: When given, 'times' will be multiplied with [count].
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
* With this command, +;;+ is interpreted literally instead of splitting off a second command.
2016-08-04 13:21:19 +02:00
* This command does not replace variables like +\{url\}+.
2015-04-06 17:32:33 +02:00
2017-11-13 07:59:54 +01:00
[[repeat-command]]
=== repeat-command
Repeat the last executed command.
==== count
Which count to pass the command.
2014-09-07 23:22:38 +02:00
[[report]]
=== report
Report a bug in qutebrowser.
[[restart]]
=== restart
Restart qutebrowser while keeping existing tabs open.
2016-10-06 22:24:04 +02:00
[[run-macro]]
=== run-macro
2016-10-08 21:17:47 +02:00
Syntax: +:run-macro ['register']+
2016-10-06 22:24:04 +02:00
Run a recorded macro.
==== positional arguments
2016-10-08 21:17:47 +02:00
* +'register'+: Which macro to run.
2016-10-06 22:24:04 +02:00
==== count
How many times to run the macro.
2017-11-13 07:59:54 +01:00
[[run-with-count]]
=== run-with-count
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.
==== positional arguments
* +'count-arg'+: The count to pass to the command.
* +'command'+: The command to run, with optional args.
==== count
The count that run_with_count itself received.
==== note
* This command does not split arguments after the last argument and handles quotes literally.
* With this command, +;;+ is interpreted literally instead of splitting off a second command.
* This command does not replace variables like +\{url\}+.
2014-09-07 23:22:38 +02:00
[[save]]
=== save
2015-01-31 22:56:23 +01:00
Syntax: +:save ['what' ['what' ...]]+
Save configs and state.
==== positional arguments
* +'what'+: What to save (`config`/`key-config`/`cookies`/...). If not given, everything is saved.
2014-09-07 23:22:38 +02:00
2017-11-13 07:59:54 +01:00
[[scroll]]
=== scroll
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.
==== positional arguments
* +'direction'+: In which direction to scroll (up/down/left/right/top/bottom).
==== count
multiplier
[[scroll-page]]
=== scroll-page
Syntax: +:scroll-page [*--top-navigate* 'ACTION'] [*--bottom-navigate* 'ACTION'] 'x' 'y'+
Scroll the frame page-wise.
==== positional arguments
* +'x'+: How many pages to scroll to the right.
* +'y'+: How many pages to scroll down.
==== optional arguments
* +*-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.
==== count
multiplier
[[scroll-px]]
=== scroll-px
Syntax: +:scroll-px 'dx' 'dy'+
Scroll the current tab by 'count * dx/dy' pixels.
==== positional arguments
* +'dx'+: How much to scroll in x-direction.
* +'dy'+: How much to scroll in y-direction.
==== count
multiplier
2018-03-19 19:18:33 +01:00
[[scroll-to-anchor]]
=== scroll-to-anchor
Syntax: +:scroll-to-anchor 'name'+
Scroll to the given anchor in the document.
==== positional arguments
* +'name'+: The anchor to scroll to.
2017-11-13 07:59:54 +01:00
[[scroll-to-perc]]
=== scroll-to-perc
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.
==== positional arguments
* +'perc'+: Percentage to scroll.
==== optional arguments
* +*-x*+, +*--horizontal*+: Scroll horizontally instead of vertically.
==== count
Percentage to scroll.
2014-12-29 22:45:26 +01:00
[[search]]
=== search
2015-04-03 14:39:47 +02:00
Syntax: +:search [*--reverse*] ['text']+
2014-12-29 22:45:26 +01:00
2015-04-03 14:39:47 +02:00
Search for a text on the current page. With no text, clear results.
2014-12-29 22:45:26 +01:00
==== positional arguments
* +'text'+: The text to search for.
==== optional arguments
* +*-r*+, +*--reverse*+: Reverse search direction.
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2017-11-13 07:59:54 +01:00
[[search-next]]
=== search-next
Continue the search to the ([count]th) next term.
==== count
How many elements to ignore.
[[search-prev]]
=== search-prev
Continue the search to the ([count]th) previous term.
==== count
How many elements to ignore.
2015-02-16 20:26:09 +01:00
[[session-delete]]
=== session-delete
2015-04-01 22:30:46 +02:00
Syntax: +:session-delete [*--force*] 'name'+
2015-02-16 20:26:09 +01:00
Delete a session.
==== positional arguments
* +'name'+: The name of the session.
2015-04-01 22:30:46 +02:00
==== optional arguments
* +*-f*+, +*--force*+: Force deleting internal sessions (starting with an underline).
2015-02-16 20:26:09 +01:00
[[session-load]]
=== session-load
2018-01-24 21:15:10 +01:00
Syntax: +:session-load [*--clear*] [*--temp*] [*--force*] [*--delete*] 'name'+
2015-02-16 20:26:09 +01:00
Load a session.
==== positional arguments
* +'name'+: The name of the session.
2015-03-30 07:09:16 +02:00
==== optional arguments
* +*-c*+, +*--clear*+: Close all existing windows.
2015-04-05 16:06:41 +02:00
* +*-t*+, +*--temp*+: Don't set the current session for :session-save.
2015-04-01 22:30:46 +02:00
* +*-f*+, +*--force*+: Force loading internal sessions (starting with an underline).
2018-01-24 21:15:10 +01:00
* +*-d*+, +*--delete*+: Delete the saved session once it has loaded.
2015-03-30 07:09:16 +02:00
2015-02-16 20:26:09 +01:00
[[session-save]]
=== session-save
2018-06-10 01:45:42 +02:00
Syntax: +:session-save [*--current*] [*--quiet*] [*--force*] [*--only-active-window*]
[*--with-private*]
['name']+
2015-02-16 20:26:09 +01:00
Save a session.
==== positional arguments
2017-11-21 00:38:51 +01:00
* +'name'+: The name of the session. If not given, the session configured in session.default_name is saved.
2015-04-05 23:30:43 +02:00
2015-02-16 20:26:09 +01:00
2015-03-30 07:03:14 +02:00
==== optional arguments
2015-04-05 16:04:03 +02:00
* +*-c*+, +*--current*+: Save the current session instead of the default.
2015-03-30 07:03:14 +02:00
* +*-q*+, +*--quiet*+: Don't show confirmation message.
2015-04-01 22:30:46 +02:00
* +*-f*+, +*--force*+: Force saving internal sessions (starting with an underline).
2017-02-05 15:58:35 +01:00
* +*-o*+, +*--only-active-window*+: Saves only tabs of the currently active window.
2017-05-16 06:28:21 +02:00
* +*-p*+, +*--with-private*+: Include private windows.
2015-03-30 07:03:14 +02:00
2014-09-07 23:22:38 +02:00
[[set]]
=== set
2018-02-20 17:55:40 +01:00
Syntax: +:set [*--temp*] [*--print*] [*--pattern* 'pattern'] ['option'] ['value']+
2014-09-07 23:22:38 +02:00
Set an option.
2018-01-18 07:57:31 +01:00
If the option name ends with '?', the value of the option is shown instead. Using :set without any arguments opens a page where settings can be changed interactively.
2014-09-15 06:24:15 +02:00
2014-09-07 23:22:38 +02:00
==== positional arguments
2014-09-13 00:22:27 +02:00
* +'option'+: The name of the option.
2017-10-03 07:09:32 +02:00
* +'value'+: The value to set.
2014-09-07 23:22:38 +02:00
==== optional arguments
2017-07-01 22:58:50 +02:00
* +*-t*+, +*--temp*+: Set value temporarily until qutebrowser is closed.
2015-02-05 08:29:33 +01:00
* +*-p*+, +*--print*+: Print the value after setting.
2018-02-20 17:55:40 +01:00
* +*-u*+, +*--pattern*+: The URL pattern to use.
2014-09-07 23:22:38 +02:00
[[set-cmd-text]]
=== set-cmd-text
2017-09-23 10:40:42 +02:00
Syntax: +:set-cmd-text [*--space*] [*--append*] [*--run-on-count*] 'text'+
2014-09-07 23:22:38 +02:00
Preset the statusbar to some text.
==== positional arguments
* +'text'+: The commandline to set.
2015-04-03 17:10:14 +02:00
==== optional arguments
* +*-s*+, +*--space*+: If given, a space is added to the end.
2015-11-10 19:21:54 +01:00
* +*-a*+, +*--append*+: If given, the text is appended to the current text.
2017-09-23 10:40:42 +02:00
* +*-r*+, +*--run-on-count*+: If given with a count, the command is run with the given count rather than setting the command text.
==== count
The count if given.
2015-04-03 17:10:14 +02:00
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2017-11-13 07:59:54 +01:00
[[set-mark]]
=== set-mark
Syntax: +:set-mark 'key'+
Set a mark at the current scroll position in the current tab.
==== positional arguments
* +'key'+: mark identifier; capital indicates a global mark
2014-09-07 23:22:38 +02:00
[[spawn]]
=== spawn
2017-12-08 20:00:46 +01:00
Syntax: +:spawn [*--userscript*] [*--verbose*] [*--output*] [*--detach*] 'cmdline'+
2014-09-07 23:22:38 +02:00
Spawn a command in a shell.
==== positional arguments
2015-06-17 07:57:38 +02:00
* +'cmdline'+: The commandline to execute.
2014-09-07 23:22:38 +02:00
2015-01-15 22:28:04 +01:00
==== optional arguments
2016-03-25 11:09:03 +01:00
* +*-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_DIR`)
- `/usr/share/qutebrowser/userscripts`
2015-10-08 10:47:52 +02:00
2015-06-11 20:25:24 +02:00
* +*-v*+, +*--verbose*+: Show notifications when the command started/exited.
2017-12-08 20:00:46 +01:00
* +*-o*+, +*--output*+: Whether the output should be shown in a new tab.
2015-06-11 20:25:24 +02:00
* +*-d*+, +*--detach*+: Whether the command should be detached from qutebrowser.
2015-01-15 22:28:04 +01:00
2015-06-17 07:57:38 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2014-09-07 23:22:38 +02:00
[[stop]]
=== stop
Stop loading in the current/[count]th tab.
2014-09-13 00:33:15 +02:00
==== count
2014-09-13 00:37:07 +02:00
The tab index to stop.
2014-09-13 00:33:15 +02:00
2014-09-27 23:14:53 +02:00
[[tab-clone]]
=== tab-clone
2014-10-06 20:46:01 +02:00
Syntax: +:tab-clone [*--bg*] [*--window*]+
2014-09-27 23:14:53 +02:00
Duplicate the current tab.
==== optional arguments
* +*-b*+, +*--bg*+: Open in a background tab.
2014-10-06 20:46:01 +02:00
* +*-w*+, +*--window*+: Open in a new window.
2014-09-27 23:14:53 +02:00
2014-09-07 23:22:38 +02:00
[[tab-close]]
=== tab-close
2017-05-12 22:09:22 +02:00
Syntax: +:tab-close [*--prev*] [*--next*] [*--opposite*] [*--force*]+
2014-10-07 20:30:31 +02:00
2014-09-07 23:22:38 +02:00
Close the current/[count]th tab.
2014-10-07 20:30:31 +02:00
==== optional arguments
2016-10-18 12:35:37 +02:00
* +*-p*+, +*--prev*+: Force selecting the tab before the current tab.
* +*-n*+, +*--next*+: Force selecting the tab after the current tab.
2017-07-01 22:58:50 +02:00
* +*-o*+, +*--opposite*+: Force selecting the tab in the opposite direction of what's configured in 'tabs.select_on_remove'.
2014-10-07 20:30:31 +02:00
2017-05-17 06:03:33 +02:00
* +*-f*+, +*--force*+: Avoid confirmation for pinned tabs.
2014-10-07 20:30:31 +02:00
2014-09-13 00:33:15 +02:00
==== count
2014-09-13 00:37:07 +02:00
The tab index to close
2014-09-13 00:33:15 +02:00
2014-09-07 23:22:38 +02:00
[[tab-focus]]
=== tab-focus
2018-02-03 20:31:44 +01:00
Syntax: +:tab-focus [*--no-last*] ['index']+
2014-09-07 23:22:38 +02:00
Select the tab given as argument/[count].
2016-08-03 08:56:02 +02:00
If neither count nor index are given, it behaves like tab-next. If both are given, use count.
2015-08-11 22:01:26 +02:00
2014-09-07 23:22:38 +02:00
==== positional arguments
2016-08-03 08:56:02 +02:00
* +'index'+: The tab index to focus, starting with 1. The special value `last` focuses the last focused tab (regardless of count).
Negative indices count from the end, such that -1 is the
last tab.
2014-09-07 23:22:38 +02:00
2018-02-03 20:31:44 +01:00
==== optional arguments
* +*-n*+, +*--no-last*+: Whether to avoid focusing last tab if already focused.
2014-09-13 00:33:15 +02:00
==== count
2016-11-23 08:34:21 +01:00
The tab index to focus, starting with 1.
2014-09-13 00:33:15 +02:00
2017-10-03 20:05:00 +02:00
[[tab-give]]
=== tab-give
2017-10-04 04:35:40 +02:00
Syntax: +:tab-give ['win-id']+
Give the current tab to a new or existing window if win_id given.
2017-10-03 20:05:00 +02:00
2017-10-04 04:35:40 +02:00
If no win_id is given, the tab will get detached into a new window.
2017-10-03 20:05:00 +02:00
==== positional arguments
* +'win-id'+: The window ID of the window to give the current tab to.
2018-02-11 11:17:37 +01:00
==== count
Overrides win_id (index starts at 1 for win_id=0).
2014-09-07 23:22:38 +02:00
[[tab-move]]
=== tab-move
2016-08-01 16:18:08 +02:00
Syntax: +:tab-move ['index']+
2014-09-07 23:22:38 +02:00
2016-08-01 16:18:08 +02:00
Move the current tab according to the argument and [count].
If neither is given, move it to the first position.
2014-09-07 23:22:38 +02:00
==== positional arguments
2016-08-01 16:18:08 +02:00
* +'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.
2014-09-13 00:22:27 +02:00
2014-09-07 23:22:38 +02:00
2014-09-13 00:33:15 +02:00
==== count
2016-08-01 16:18:08 +02:00
If moving relatively: Offset. If moving absolutely: New position (default: 0). This
overrides the index argument, if given.
2014-09-13 00:33:15 +02:00
2018-05-10 03:33:52 +02:00
[[tab-mute]]
=== tab-mute
Mute/Unmute the current/[count]th tab.
==== count
2018-06-11 12:08:44 +02:00
The tab index to mute or unmute
2018-05-10 03:33:52 +02:00
2014-09-07 23:22:38 +02:00
[[tab-next]]
=== tab-next
Switch to the next tab, or switch [count] tabs forward.
2014-09-13 00:33:15 +02:00
==== count
How many tabs to switch forward.
2014-09-07 23:22:38 +02:00
[[tab-only]]
=== tab-only
2017-05-12 22:28:53 +02:00
Syntax: +:tab-only [*--prev*] [*--next*] [*--force*]+
2014-10-08 22:20:57 +02:00
2014-09-07 23:22:38 +02:00
Close all tabs except for the current one.
2014-10-08 22:20:57 +02:00
==== optional arguments
2016-10-18 12:55:58 +02:00
* +*-p*+, +*--prev*+: Keep tabs before the current.
* +*-n*+, +*--next*+: Keep tabs after the current.
2017-05-12 22:28:53 +02:00
* +*-f*+, +*--force*+: Avoid confirmation for pinned tabs.
[[tab-pin]]
=== tab-pin
2017-05-17 06:03:33 +02:00
Pin/Unpin the current/[count]th tab.
2017-05-12 22:28:53 +02:00
2017-09-27 00:06:23 +02:00
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.
2017-05-22 07:11:13 +02:00
2017-05-12 22:28:53 +02:00
==== count
2017-05-17 06:03:33 +02:00
The tab index to pin or unpin
2014-10-08 22:20:57 +02:00
2014-09-07 23:22:38 +02:00
[[tab-prev]]
=== tab-prev
Switch to the previous tab, or switch [count] tabs back.
2014-09-13 00:33:15 +02:00
==== count
How many tabs to switch back.
2017-10-03 20:05:00 +02:00
[[tab-take]]
=== tab-take
Syntax: +:tab-take 'index'+
Take a tab from another window.
==== positional arguments
* +'index'+: The [win_id/]index of the tab to take. Or a substring in which case the closest match will be taken.
2014-09-09 23:13:43 +02:00
[[unbind]]
=== unbind
2017-09-12 15:11:16 +02:00
Syntax: +:unbind [*--mode* 'mode'] 'key'+
2014-09-09 23:13:43 +02:00
Unbind a keychain.
==== positional arguments
2018-03-04 20:28:46 +01:00
* +'key'+: The keychain to unbind. See the help for `:bind` for the correct syntax for keychains.
2017-09-12 15:11:16 +02:00
==== optional arguments
* +*-m*+, +*--mode*+: A mode to unbind the key in (default: `normal`). See `:help bindings.commands` for the available modes.
2017-09-12 15:10:27 +02:00
2014-09-09 23:13:43 +02:00
2014-09-07 23:22:38 +02:00
[[undo]]
=== undo
2017-11-06 19:32:10 +01:00
Re-open the last closed tab or tabs.
2014-09-07 23:22:38 +02:00
2017-10-04 06:22:51 +02:00
[[version]]
=== version
2018-02-11 11:17:37 +01:00
Syntax: +:version [*--paste*]+
2017-10-04 06:22:51 +02:00
Show version information.
2018-02-11 11:17:37 +01:00
==== optional arguments
* +*-p*+, +*--paste*+: Paste to pastebin.
2014-09-22 21:01:58 +02:00
[[view-source]]
=== view-source
2018-06-11 15:38:01 +02:00
Syntax: +:view-source [*--edit*] [*--pygments*]+
2018-02-10 10:36:58 +01:00
2017-02-04 22:32:34 +01:00
Show the source of the current page in a new tab.
2014-09-22 21:01:58 +02:00
2018-02-10 10:36:58 +01:00
==== optional arguments
* +*-e*+, +*--edit*+: Edit the source in the editor instead of opening a tab.
2018-06-11 15:38:01 +02:00
* +*-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.
2018-02-10 10:36:58 +01:00
2016-08-16 11:07:57 +02:00
[[window-only]]
=== window-only
Close all windows except for the current one.
2014-09-07 23:22:38 +02:00
[[yank]]
=== yank
2016-08-07 11:09:16 +02:00
Syntax: +:yank [*--sel*] [*--keep*] ['what']+
2014-09-07 23:22:38 +02:00
2016-08-07 11:09:16 +02:00
Yank something to the clipboard or primary selection.
2014-09-07 23:22:38 +02:00
2016-08-07 11:09:16 +02:00
==== positional arguments
* +'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.
2014-09-07 23:22:38 +02:00
2015-07-16 13:57:53 +02:00
==== optional arguments
* +*-s*+, +*--sel*+: Use the primary selection instead of the clipboard.
2016-08-07 11:09:16 +02:00
* +*-k*+, +*--keep*+: Stay in visual mode after yanking the selection.
2015-07-16 13:57:53 +02:00
2014-09-07 23:22:38 +02:00
[[zoom]]
=== zoom
Syntax: +:zoom ['zoom']+
Set the zoom level for the current tab.
2016-08-03 08:56:02 +02:00
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].
2014-09-07 23:22:38 +02:00
==== positional arguments
* +'zoom'+: The zoom percentage to set.
2014-09-13 00:33:15 +02:00
==== count
The zoom percentage to set.
2014-09-07 23:22:38 +02:00
[[zoom-in]]
=== zoom-in
Increase the zoom level for the current tab.
2014-09-13 00:33:15 +02:00
==== count
How many steps to zoom in.
2014-09-07 23:22:38 +02:00
[[zoom-out]]
=== zoom-out
Decrease the zoom level for the current tab.
2014-09-13 00:33:15 +02:00
==== count
How many steps to zoom out.
2014-09-07 23:22:38 +02:00
2017-11-13 07:59:54 +01:00
== Commands not usable in normal mode
2014-09-07 23:22:38 +02:00
.Quick reference
[options="header",width="75%",cols="25%,75%"]
|==============
|Command|Description
|<<command-accept,command-accept>>|Execute the command currently in the commandline.
|<<command-history-next,command-history-next>>|Go forward in the commandline history.
|<<command-history-prev,command-history-prev>>|Go back in the commandline history.
2015-07-29 12:46:33 +02:00
|<<completion-item-del,completion-item-del>>|Delete the current completion item.
2016-08-08 13:37:53 +02:00
|<<completion-item-focus,completion-item-focus>>|Shift the focus of the completion menu to another item.
2017-11-06 13:52:42 +01:00
|<<completion-item-yank,completion-item-yank>>|Yank the current completion item into the clipboard.
2015-05-18 22:34:21 +02:00
|<<drop-selection,drop-selection>>|Drop selection and keep selection mode enabled.
2015-11-09 07:35:33 +01:00
|<<follow-hint,follow-hint>>|Follow a hint.
2014-09-07 23:22:38 +02:00
|<<leave-mode,leave-mode>>|Leave the mode we're currently in.
2015-05-18 22:34:21 +02:00
|<<move-to-end-of-document,move-to-end-of-document>>|Move the cursor or selection to the end of the document.
|<<move-to-end-of-line,move-to-end-of-line>>|Move the cursor or selection to the end of line.
|<<move-to-end-of-next-block,move-to-end-of-next-block>>|Move the cursor or selection to the end of next block.
|<<move-to-end-of-prev-block,move-to-end-of-prev-block>>|Move the cursor or selection to the end of previous block.
|<<move-to-end-of-word,move-to-end-of-word>>|Move the cursor or selection to the end of the word.
|<<move-to-next-char,move-to-next-char>>|Move the cursor or selection to the next char.
|<<move-to-next-line,move-to-next-line>>|Move the cursor or selection to the next line.
|<<move-to-next-word,move-to-next-word>>|Move the cursor or selection to the next word.
|<<move-to-prev-char,move-to-prev-char>>|Move the cursor or selection to the previous char.
|<<move-to-prev-line,move-to-prev-line>>|Move the cursor or selection to the prev line.
|<<move-to-prev-word,move-to-prev-word>>|Move the cursor or selection to the previous word.
|<<move-to-start-of-document,move-to-start-of-document>>|Move the cursor or selection to the start of the document.
|<<move-to-start-of-line,move-to-start-of-line>>|Move the cursor or selection to the start of the line.
|<<move-to-start-of-next-block,move-to-start-of-next-block>>|Move the cursor or selection to the start of next block.
|<<move-to-start-of-prev-block,move-to-start-of-prev-block>>|Move the cursor or selection to the start of previous block.
2014-09-07 23:22:38 +02:00
|<<prompt-accept,prompt-accept>>|Accept the current prompt.
2016-10-26 22:53:14 +02:00
|<<prompt-item-focus,prompt-item-focus>>|Shift the focus of the prompt file completion menu to another item.
2016-07-26 10:54:45 +02:00
|<<prompt-open-download,prompt-open-download>>|Immediately open a download.
2018-01-27 04:06:05 +01:00
|<<prompt-yank,prompt-yank>>|Yank URL to clipboard or primary selection.
2014-09-07 23:22:38 +02:00
|<<rl-backward-char,rl-backward-char>>|Move back a character.
|<<rl-backward-delete-char,rl-backward-delete-char>>|Delete the character before the cursor.
2016-07-30 13:26:10 +02:00
|<<rl-backward-kill-word,rl-backward-kill-word>>|Remove chars from the cursor to the beginning of the word.
2014-09-07 23:22:38 +02:00
|<<rl-backward-word,rl-backward-word>>|Move back to the start of the current or previous word.
|<<rl-beginning-of-line,rl-beginning-of-line>>|Move to the start of the line.
|<<rl-delete-char,rl-delete-char>>|Delete the character after the cursor.
|<<rl-end-of-line,rl-end-of-line>>|Move to the end of the line.
|<<rl-forward-char,rl-forward-char>>|Move forward a character.
|<<rl-forward-word,rl-forward-word>>|Move forward to the end of the next word.
|<<rl-kill-line,rl-kill-line>>|Remove chars from the cursor to the end of the line.
|<<rl-kill-word,rl-kill-word>>|Remove chars from the cursor to the end of the current word.
2016-08-01 11:01:33 +02:00
|<<rl-unix-filename-rubout,rl-unix-filename-rubout>>|Remove chars from the cursor to the previous path separator.
2014-09-07 23:22:38 +02:00
|<<rl-unix-line-discard,rl-unix-line-discard>>|Remove chars backward from the cursor to the beginning of the line.
|<<rl-unix-word-rubout,rl-unix-word-rubout>>|Remove chars from the cursor to the beginning of the word.
|<<rl-yank,rl-yank>>|Paste the most recently deleted text.
2015-05-18 22:34:21 +02:00
|<<toggle-selection,toggle-selection>>|Toggle caret selection mode.
2014-09-07 23:22:38 +02:00
|==============
[[command-accept]]
=== command-accept
2017-12-14 09:03:51 +01:00
Syntax: +:command-accept [*--rapid*]+
2014-09-07 23:22:38 +02:00
Execute the command currently in the commandline.
2017-12-14 09:03:51 +01:00
==== optional arguments
* +*-r*+, +*--rapid*+: Run the command without closing or clearing the command bar.
2014-09-07 23:22:38 +02:00
[[command-history-next]]
=== command-history-next
Go forward in the commandline history.
[[command-history-prev]]
=== command-history-prev
Go back in the commandline history.
2015-07-29 12:46:33 +02:00
[[completion-item-del]]
=== completion-item-del
Delete the current completion item.
2016-08-08 13:37:53 +02:00
[[completion-item-focus]]
=== completion-item-focus
2017-11-19 20:07:35 +01:00
Syntax: +:completion-item-focus [*--history*] 'which'+
2014-09-07 23:22:38 +02:00
2016-08-08 13:37:53 +02:00
Shift the focus of the completion menu to another item.
==== positional arguments
2016-08-16 11:46:57 +02:00
* +'which'+: 'next', 'prev', 'next-category', or 'prev-category'.
2014-09-07 23:22:38 +02:00
2017-11-19 20:07:35 +01:00
==== optional arguments
* +*-H*+, +*--history*+: Navigate through command history if no text was typed.
2017-11-06 13:47:50 +01:00
[[completion-item-yank]]
=== completion-item-yank
Syntax: +:completion-item-yank [*--sel*]+
2017-11-06 13:52:42 +01:00
Yank the current completion item into the clipboard.
2017-11-06 13:47:50 +01:00
==== optional arguments
2017-11-06 13:52:42 +01:00
* +*-s*+, +*--sel*+: Use the primary selection instead of the clipboard.
2017-11-06 13:47:50 +01:00
2015-05-18 22:34:21 +02:00
[[drop-selection]]
=== drop-selection
Drop selection and keep selection mode enabled.
2014-09-07 23:22:38 +02:00
[[follow-hint]]
=== follow-hint
2018-02-28 15:28:04 +01:00
Syntax: +:follow-hint [*--select*] ['keystring']+
2015-11-09 07:35:33 +01:00
Follow a hint.
==== positional arguments
* +'keystring'+: The hint to follow.
2014-09-07 23:22:38 +02:00
2018-02-28 15:28:04 +01:00
==== optional arguments
* +*-s*+, +*--select*+: Only select the given hint, don't necessarily follow it.
2014-09-07 23:22:38 +02:00
[[leave-mode]]
=== leave-mode
Leave the mode we're currently in.
2015-05-18 22:34:21 +02:00
[[move-to-end-of-document]]
=== move-to-end-of-document
Move the cursor or selection to the end of the document.
[[move-to-end-of-line]]
=== move-to-end-of-line
Move the cursor or selection to the end of line.
[[move-to-end-of-next-block]]
=== move-to-end-of-next-block
Move the cursor or selection to the end of next block.
==== count
How many blocks to move.
[[move-to-end-of-prev-block]]
=== move-to-end-of-prev-block
Move the cursor or selection to the end of previous block.
==== count
How many blocks to move.
[[move-to-end-of-word]]
=== move-to-end-of-word
Move the cursor or selection to the end of the word.
==== count
How many words to move.
[[move-to-next-char]]
=== move-to-next-char
Move the cursor or selection to the next char.
==== count
How many lines to move.
[[move-to-next-line]]
=== move-to-next-line
Move the cursor or selection to the next line.
==== count
How many lines to move.
[[move-to-next-word]]
=== move-to-next-word
Move the cursor or selection to the next word.
==== count
How many words to move.
[[move-to-prev-char]]
=== move-to-prev-char
Move the cursor or selection to the previous char.
==== count
How many chars to move.
[[move-to-prev-line]]
=== move-to-prev-line
Move the cursor or selection to the prev line.
==== count
How many lines to move.
[[move-to-prev-word]]
=== move-to-prev-word
Move the cursor or selection to the previous word.
==== count
How many words to move.
[[move-to-start-of-document]]
=== move-to-start-of-document
Move the cursor or selection to the start of the document.
[[move-to-start-of-line]]
=== move-to-start-of-line
Move the cursor or selection to the start of the line.
[[move-to-start-of-next-block]]
=== move-to-start-of-next-block
Move the cursor or selection to the start of next block.
==== count
How many blocks to move.
[[move-to-start-of-prev-block]]
=== move-to-start-of-prev-block
Move the cursor or selection to the start of previous block.
==== count
How many blocks to move.
2014-09-07 23:22:38 +02:00
[[prompt-accept]]
=== prompt-accept
2016-09-09 15:48:42 +02:00
Syntax: +:prompt-accept ['value']+
2014-09-07 23:22:38 +02:00
Accept the current prompt.
2016-09-09 15:48:42 +02:00
==== positional arguments
* +'value'+: If given, uses this value instead of the entered one. For boolean prompts, "yes"/"no" are accepted as value.
2016-10-26 22:53:14 +02:00
[[prompt-item-focus]]
=== prompt-item-focus
Syntax: +:prompt-item-focus 'which'+
Shift the focus of the prompt file completion menu to another item.
==== positional arguments
* +'which'+: 'next', 'prev'
2016-07-26 10:54:45 +02:00
[[prompt-open-download]]
=== prompt-open-download
2016-08-02 19:40:57 +02:00
Syntax: +:prompt-open-download ['cmdline']+
2016-07-26 10:54:45 +02:00
Immediately open a download.
2016-08-03 18:06:28 +02:00
If no specific command is given, this will use the system's default application to open the file.
2016-08-02 19:40:57 +02:00
==== positional arguments
2016-08-04 12:47:20 +02:00
* +'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.
2016-08-02 19:40:57 +02:00
2016-08-03 18:06:28 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
2018-01-25 23:48:45 +01:00
[[prompt-yank]]
=== prompt-yank
2018-01-27 04:06:05 +01:00
Syntax: +:prompt-yank [*--sel*]+
Yank URL to clipboard or primary selection.
==== optional arguments
* +*-s*+, +*--sel*+: Use the primary selection instead of the clipboard.
2018-01-25 23:48:45 +01:00
2014-09-07 23:22:38 +02:00
[[rl-backward-char]]
=== rl-backward-char
Move back a character.
This acts like readline's backward-char.
[[rl-backward-delete-char]]
=== rl-backward-delete-char
Delete the character before the cursor.
This acts like readline's backward-delete-char.
2016-07-30 13:26:10 +02:00
[[rl-backward-kill-word]]
=== rl-backward-kill-word
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.
2014-09-07 23:22:38 +02:00
[[rl-backward-word]]
=== rl-backward-word
Move back to the start of the current or previous word.
This acts like readline's backward-word.
[[rl-beginning-of-line]]
=== rl-beginning-of-line
Move to the start of the line.
This acts like readline's beginning-of-line.
[[rl-delete-char]]
=== rl-delete-char
Delete the character after the cursor.
This acts like readline's delete-char.
[[rl-end-of-line]]
=== rl-end-of-line
Move to the end of the line.
This acts like readline's end-of-line.
[[rl-forward-char]]
=== rl-forward-char
Move forward a character.
This acts like readline's forward-char.
[[rl-forward-word]]
=== rl-forward-word
Move forward to the end of the next word.
This acts like readline's forward-word.
[[rl-kill-line]]
=== rl-kill-line
Remove chars from the cursor to the end of the line.
This acts like readline's kill-line.
[[rl-kill-word]]
=== rl-kill-word
Remove chars from the cursor to the end of the current word.
This acts like readline's kill-word.
2016-08-01 11:01:33 +02:00
[[rl-unix-filename-rubout]]
=== rl-unix-filename-rubout
Remove chars from the cursor to the previous path separator.
This acts like readline's unix-filename-rubout.
2014-09-07 23:22:38 +02:00
[[rl-unix-line-discard]]
=== rl-unix-line-discard
Remove chars backward from the cursor to the beginning of the line.
This acts like readline's unix-line-discard.
[[rl-unix-word-rubout]]
=== rl-unix-word-rubout
Remove chars from the cursor to the beginning of the word.
2016-07-30 13:26:10 +02:00
This acts like readline's unix-word-rubout. Whitespace is used as a word delimiter.
2014-09-07 23:22:38 +02:00
[[rl-yank]]
=== rl-yank
Paste the most recently deleted text.
This acts like readline's yank.
2015-05-18 22:34:21 +02:00
[[toggle-selection]]
=== toggle-selection
Toggle caret selection mode.
2014-09-07 23:22:38 +02:00
== Debugging commands
These commands are mainly intended for debugging. They are hidden if qutebrowser was started without the `--debug`-flag.
.Quick reference
[options="header",width="75%",cols="25%,75%"]
|==============
|Command|Description
|<<debug-all-objects,debug-all-objects>>|Print a list of all objects to the debug log.
|<<debug-cache-stats,debug-cache-stats>>|Print LRU cache stats.
2016-01-13 21:05:48 +01:00
|<<debug-clear-ssl-errors,debug-clear-ssl-errors>>|Clear remembered SSL error answers.
2014-09-07 23:22:38 +02:00
|<<debug-console,debug-console>>|Show the debugging console.
|<<debug-crash,debug-crash>>|Crash for debugging purposes.
2017-07-21 15:39:36 +02:00
|<<debug-dump-history,debug-dump-history>>|Dump the history to a file in the old pre-SQL format.
2015-11-23 14:35:46 +01:00
|<<debug-dump-page,debug-dump-page>>|Dump the current page's content to a file.
2016-08-05 15:07:10 +02:00
|<<debug-log-capacity,debug-log-capacity>>|Change the number of log lines to be stored in RAM.
2016-08-19 15:27:56 +02:00
|<<debug-log-filter,debug-log-filter>>|Change the log filter for console logging.
|<<debug-log-level,debug-log-level>>|Change the log level for console logging.
2015-03-31 22:14:35 +02:00
|<<debug-pyeval,debug-pyeval>>|Evaluate a python string and display the results as a web page.
2016-02-03 20:27:11 +01:00
|<<debug-set-fake-clipboard,debug-set-fake-clipboard>>|Put data into the fake clipboard and enable logging, used for tests.
2015-03-31 22:14:35 +02:00
|<<debug-trace,debug-trace>>|Trace executed code via hunter.
2015-04-22 07:13:56 +02:00
|<<debug-webaction,debug-webaction>>|Execute a webaction.
2014-09-07 23:22:38 +02:00
|==============
[[debug-all-objects]]
=== debug-all-objects
Print a list of all objects to the debug log.
[[debug-cache-stats]]
=== debug-cache-stats
Print LRU cache stats.
2016-01-13 21:05:48 +01:00
[[debug-clear-ssl-errors]]
=== debug-clear-ssl-errors
Clear remembered SSL error answers.
2014-09-07 23:22:38 +02:00
[[debug-console]]
=== debug-console
Show the debugging console.
[[debug-crash]]
=== debug-crash
Syntax: +:debug-crash ['typ']+
Crash for debugging purposes.
==== positional arguments
* +'typ'+: either 'exception' or 'segfault'.
2017-07-21 15:39:36 +02:00
[[debug-dump-history]]
=== debug-dump-history
Syntax: +:debug-dump-history 'dest'+
Dump the history to a file in the old pre-SQL format.
==== positional arguments
* +'dest'+: Where to write the file to.
2015-11-23 14:35:46 +01:00
[[debug-dump-page]]
=== debug-dump-page
Syntax: +:debug-dump-page [*--plain*] 'dest'+
Dump the current page's content to a file.
==== positional arguments
* +'dest'+: Where to write the file to.
==== optional arguments
* +*-p*+, +*--plain*+: Write plain text instead of HTML.
2016-08-05 15:07:10 +02:00
[[debug-log-capacity]]
=== debug-log-capacity
Syntax: +:debug-log-capacity 'capacity'+
Change the number of log lines to be stored in RAM.
==== positional arguments
* +'capacity'+: Number of lines for the log.
2016-08-19 15:27:56 +02:00
[[debug-log-filter]]
=== debug-log-filter
Syntax: +:debug-log-filter 'filters'+
Change the log filter for console logging.
==== positional arguments
2017-04-06 07:16:18 +02:00
* +'filters'+: A comma separated list of logger names. Can also be "none" to clear any existing filters.
2016-08-19 15:27:56 +02:00
[[debug-log-level]]
=== debug-log-level
Syntax: +:debug-log-level 'level'+
Change the log level for console logging.
==== positional arguments
* +'level'+: The log level to set.
2014-09-07 23:22:38 +02:00
[[debug-pyeval]]
=== debug-pyeval
2017-11-19 21:11:10 +01:00
Syntax: +:debug-pyeval [*--file*] [*--quiet*] 's'+
2014-09-07 23:22:38 +02:00
2015-03-31 22:14:35 +02:00
Evaluate a python string and display the results as a web page.
2014-09-07 23:22:38 +02:00
==== positional arguments
* +'s'+: The string to evaluate.
2016-01-06 06:31:56 +01:00
==== optional arguments
2017-11-19 21:11:10 +01:00
* +*-f*+, +*--file*+: Interpret s as a path to file, also implies --quiet.
2016-01-06 06:31:56 +01:00
* +*-q*+, +*--quiet*+: Don't show the output in a new tab.
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
* With this command, +;;+ is interpreted literally instead of splitting off a second command.
2016-02-03 20:27:11 +01:00
[[debug-set-fake-clipboard]]
=== debug-set-fake-clipboard
Syntax: +:debug-set-fake-clipboard ['s']+
Put data into the fake clipboard and enable logging, used for tests.
==== positional arguments
* +'s'+: The text to put into the fake clipboard, or unset to enable logging.
2015-03-31 22:14:35 +02:00
[[debug-trace]]
=== debug-trace
Syntax: +:debug-trace ['expr']+
Trace executed code via hunter.
==== positional arguments
* +'expr'+: What to trace, passed to hunter.
2015-04-06 17:32:33 +02:00
==== note
* This command does not split arguments after the last argument and handles quotes literally.
* With this command, +;;+ is interpreted literally instead of splitting off a second command.
2015-04-22 07:13:56 +02:00
[[debug-webaction]]
=== debug-webaction
Syntax: +:debug-webaction 'action'+
Execute a webaction.
2017-05-09 22:02:30 +02:00
Available actions: http://doc.qt.io/archives/qt-5.5/qwebpage.html#WebAction-enum (WebKit) http://doc.qt.io/qt-5/qwebenginepage.html#WebAction-enum (WebEngine)
2015-04-22 07:13:56 +02:00
==== positional arguments
* +'action'+: The action to execute, e.g. MoveToNextChar.
==== count
How many times to repeat the action.