diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-01-20 14:30:49 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-01-20 18:00:38 +0100 |
commit | 7146c18183e9eadfee2d7a9e7af21b183e207fdd (patch) | |
tree | 2b0022db8864c8a0d49d01122d03c91e48719591 /doc | |
parent | fd6790fe8c02b144ab2464f1fc8ab3d02ce3c476 (diff) | |
download | qutebrowser-7146c18183e9eadfee2d7a9e7af21b183e207fdd.tar.gz qutebrowser-7146c18183e9eadfee2d7a9e7af21b183e207fdd.zip |
Rename :open-editor to :edit-text
See #6022
Diffstat (limited to 'doc')
-rw-r--r-- | doc/changelog.asciidoc | 1 | ||||
-rw-r--r-- | doc/help/commands.asciidoc | 14 | ||||
-rw-r--r-- | doc/help/settings.asciidoc | 6 |
3 files changed, 11 insertions, 10 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 59331b4d8..46f76c83b 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -178,6 +178,7 @@ Changed * `run-macro` -> `macro-run` * `record-macro` -> `macro-record` * `buffer` -> `tab-select` + * `open-editor` -> `edit-text` - Various performance improvements, including for the startup time. Fixed diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index cc9c4cb2f..d6bf5d357 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -60,6 +60,7 @@ possible to run or bind multiple commands by separating them with `;;`. |<<download-remove,download-remove>>|Remove the last/[count]th download from the list. |<<download-retry,download-retry>>|Retry the first failed/[count]th download. |<<edit-command,edit-command>>|Open an editor to modify the current command. +|<<edit-text,edit-text>>|Open an external editor with the currently selected form field. |<<edit-url,edit-url>>|Navigate to a url formed in an external editor. |<<enter-mode,enter-mode>>|Enter a key mode. |<<fake-key,fake-key>>|Send a fake keypress or key string to the website or qutebrowser. @@ -85,7 +86,6 @@ possible to run or bind multiple commands by separating them with `;;`. |<<navigate,navigate>>|Open typical prev/next links or navigate using the URL path. |<<nop,nop>>|Do nothing. |<<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. @@ -492,6 +492,12 @@ Open an editor to modify the current command. ==== optional arguments * +*-r*+, +*--run*+: Run the command if the editor exits successfully. +[[edit-text]] +=== edit-text +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. + [[edit-url]] === edit-url Syntax: +:edit-url [*--bg*] [*--tab*] [*--window*] [*--private*] [*--related*] ['url']+ @@ -915,12 +921,6 @@ 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']+ diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index cf7bf5561..e1a241658 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -203,7 +203,7 @@ |<<downloads.open_dispatcher,downloads.open_dispatcher>>|Default program used to open downloads. |<<downloads.position,downloads.position>>|Where to show the downloaded files. |<<downloads.remove_finished,downloads.remove_finished>>|Duration (in milliseconds) to wait before removing finished downloads. -|<<editor.command,editor.command>>|Editor (and arguments) to use for the `open-editor` command. +|<<editor.command,editor.command>>|Editor (and arguments) to use for the `edit-*` commands. |<<editor.encoding,editor.encoding>>|Encoding to use for the editor. |<<fileselect.handler,fileselect.handler>>|Handler for selecting file(s) in forms. If `external`, then the commands specified by `fileselect.single_file.command` and `fileselect.multiple_files.command` are used to select one or multiple files respectively. |<<fileselect.multiple_files.command,fileselect.multiple_files.command>>|Command (and arguments) to use for selecting multiple files in forms. The command should write the selected file paths to the specified file, separated by newlines. @@ -532,7 +532,7 @@ Default: * +pass:[<Return>]+: +pass:[follow-hint]+ - +pass:[insert]+: -* +pass:[<Ctrl-E>]+: +pass:[open-editor]+ +* +pass:[<Ctrl-E>]+: +pass:[edit-text]+ * +pass:[<Escape>]+: +pass:[leave-mode]+ * +pass:[<Shift-Ins>]+: +pass:[insert-text -- {primary}]+ - +pass:[normal]+: @@ -2756,7 +2756,7 @@ Default: +pass:[-1]+ [[editor.command]] === editor.command -Editor (and arguments) to use for the `open-editor` command. +Editor (and arguments) to use for the `edit-*` commands. The following placeholders are defined: * `{file}`: Filename of the file to be edited. |