summaryrefslogtreecommitdiff
path: root/doc/help/commands.asciidoc
diff options
context:
space:
mode:
authorJimmy <jimmy@spalge.com>2019-05-26 13:04:50 +1200
committerJimmy <jimmy@spalge.com>2020-07-13 13:14:48 +1200
commit4071317df1e12f0ad927c910334a808bbd8737ee (patch)
tree3b5e9d071d632538ed5d230930f169c72eac508b /doc/help/commands.asciidoc
parent57a4e76252f5c49923149da9888aae4e7bc96fc4 (diff)
downloadqutebrowser-4071317df1e12f0ad927c910334a808bbd8737ee.tar.gz
qutebrowser-4071317df1e12f0ad927c910334a808bbd8737ee.zip
Add --window argument to :undo.
I don't like using `QApplication.instance()` and then calling methods that aren't defined for a `QApplication` on it. We need to sort our module heirarchy out though because there would be an import loop from importing app here.
Diffstat (limited to 'doc/help/commands.asciidoc')
-rw-r--r--doc/help/commands.asciidoc9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc
index 4ce944652..0e519e2a8 100644
--- a/doc/help/commands.asciidoc
+++ b/doc/help/commands.asciidoc
@@ -128,7 +128,7 @@ possible to run or bind multiple commands by separating them with `;;`.
|<<tab-prev,tab-prev>>|Switch to the previous tab, or switch [count] tabs back.
|<<tab-take,tab-take>>|Take a tab from another window.
|<<unbind,unbind>>|Unbind a keychain.
-|<<undo,undo>>|Re-open the last closed tab or tabs.
+|<<undo,undo>>|Re-open the last closed tab(s) or window.
|<<version,version>>|Show version information.
|<<view-source,view-source>>|Show the source of the current page in a new tab.
|<<window-only,window-only>>|Close all windows except for the current one.
@@ -1467,7 +1467,12 @@ Unbind a keychain.
[[undo]]
=== undo
-Re-open the last closed tab or tabs.
+Syntax: +:undo [*--window*]+
+
+Re-open the last closed tab(s) or window.
+
+==== optional arguments
+* +*-w*+, +*--window*+: Re-open the last closed window (and its tabs).
[[version]]
=== version