summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-11-02 19:30:17 +0100
committerFlorian Bruhin <git@the-compiler.org>2017-11-04 15:21:27 +0100
commit25a11f492b89d2473595527d17543593a5e0e01a (patch)
tree3170c01a62193519d23df5d2c240ed240470a49e
parentd0453542c3c0f04da58da2b32f8dc927b0878fa2 (diff)
downloadqutebrowser-25a11f492b89d2473595527d17543593a5e0e01a.tar.gz
qutebrowser-25a11f492b89d2473595527d17543593a5e0e01a.zip
Un-hide :open-editor
It can be used in normal mode as well, and it's nice to have it discoverable. Fixes #3235. (cherry picked from commit bb208f4e7736312aa8bfc1763f166b84f2259169)
-rw-r--r--doc/help/commands.asciidoc14
-rw-r--r--qutebrowser/browser/commands.py3
2 files changed, 8 insertions, 9 deletions
diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc
index 137bf3ef8..17a58c1b3 100644
--- a/doc/help/commands.asciidoc
+++ b/doc/help/commands.asciidoc
@@ -60,6 +60,7 @@ It is possible to run or bind multiple commands by separating them with `;;`.
|<<messages,messages>>|Show a log of past messages.
|<<navigate,navigate>>|Open typical prev/next links or navigate using the URL path.
|<<open,open>>|Open a URL in the current/[count]th tab.
+|<<open-editor,open-editor>>|Open an external editor with the currently selected form field.
|<<print,print>>|Print the current/[count]th tab.
|<<quickmark-add,quickmark-add>>|Add a new quickmark.
|<<quickmark-del,quickmark-del>>|Delete a quickmark.
@@ -653,6 +654,12 @@ The tab index to open the URL in.
==== note
* This command does not split arguments after the last argument and handles quotes literally.
+[[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.
+
[[print]]
=== print
Syntax: +:print [*--preview*] [*--pdf* 'file']+
@@ -1137,7 +1144,6 @@ How many steps to zoom out.
|<<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.
|<<nop,nop>>|Do nothing.
-|<<open-editor,open-editor>>|Open an external editor with the currently selected form field.
|<<prompt-accept,prompt-accept>>|Accept the current prompt.
|<<prompt-item-focus,prompt-item-focus>>|Shift the focus of the prompt file completion menu to another item.
|<<prompt-open-download,prompt-open-download>>|Immediately open a download.
@@ -1388,12 +1394,6 @@ How many blocks to move.
=== nop
Do nothing.
-[[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.
-
[[prompt-accept]]
=== prompt-accept
Syntax: +:prompt-accept ['value']+
diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py
index 7a8825720..9f4f2400f 100644
--- a/qutebrowser/browser/commands.py
+++ b/qutebrowser/browser/commands.py
@@ -1599,8 +1599,7 @@ class CommandDispatcher:
self.on_editing_finished, elem))
ed.edit(text)
- @cmdutils.register(instance='command-dispatcher', hide=True,
- scope='window')
+ @cmdutils.register(instance='command-dispatcher', scope='window')
def open_editor(self):
"""Open an external editor with the currently selected form field.