diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 58dfaaa16..7c8ea1688 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -14,6 +14,7 @@ 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}` expands to the host part of the URL - `{clipboard}` expands to the clipboard contents - `{primary}` expands to the primary selection contents diff --git a/qutebrowser/commands/__init__.py b/qutebrowser/commands/__init__.py index 0bbc9852b..6ba8a9ae3 100644 --- a/qutebrowser/commands/__init__.py +++ b/qutebrowser/commands/__init__.py @@ -26,6 +26,7 @@ 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}` expands to the host part of the URL - `{clipboard}` expands to the clipboard contents - `{primary}` expands to the primary selection contents