diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-01-20 18:15:58 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-01-20 18:19:03 +0100 |
commit | 25afb200eddaf3c859b2d9098836a7b8c1c934ab (patch) | |
tree | ff904fe39c48c7cdaf53877cb8c2c59c90dff2ec /doc | |
parent | fc87c3df0fd3b4c4a748876b526e6d7f29f70a02 (diff) | |
download | qutebrowser-25afb200eddaf3c859b2d9098836a7b8c1c934ab.tar.gz qutebrowser-25afb200eddaf3c859b2d9098836a7b8c1c934ab.zip |
Rename :enter-mode and :leave-mode
See #6022
Diffstat (limited to 'doc')
-rw-r--r-- | doc/changelog.asciidoc | 2 | ||||
-rw-r--r-- | doc/help/commands.asciidoc | 30 | ||||
-rw-r--r-- | doc/help/settings.asciidoc | 30 |
3 files changed, 32 insertions, 30 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 8a99529cc..947a3bc50 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -186,6 +186,8 @@ Changed * `reverse-selection` -> `selection-reverse` * `follow-selected` -> `selection-follow` * `follow-hint` -> `hint-follow` + * `enter-mode` -> `mode-enter` + * `leave-mode` -> `mode-leave` - Various performance improvements, including for the startup time. Fixed diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 0d77c369b..c1e9290ed 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -62,7 +62,6 @@ possible to run or bind multiple commands by separating them with `;;`. |<<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. |<<forward,forward>>|Go forward in the history of the current tab. |<<fullscreen,fullscreen>>|Toggle fullscreen mode. @@ -82,6 +81,7 @@ possible to run or bind multiple commands by separating them with `;;`. |<<message-info,message-info>>|Show an info message in the statusbar. |<<message-warning,message-warning>>|Show a warning message in the statusbar. |<<messages,messages>>|Show a log of past messages. +|<<mode-enter,mode-enter>>|Enter a key mode. |<<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. @@ -517,17 +517,6 @@ The editor which should be launched can be configured via the `editor.command` c * +*-r*+, +*--related*+: If opening a new tab, position the tab as related to the current one (like clicking on a link). -[[enter-mode]] -=== enter-mode -Syntax: +:enter-mode 'mode'+ - -Enter a key mode. - -==== positional arguments -* +'mode'+: The mode to enter. See `:help bindings.commands` for the available modes, but note that hint/command/yesno/prompt mode - can't be entered manually. - - [[fake-key]] === fake-key Syntax: +:fake-key [*--global*] 'keystring'+ @@ -846,6 +835,17 @@ Show a log of past messages. is negated. +[[mode-enter]] +=== mode-enter +Syntax: +:mode-enter 'mode'+ + +Enter a key mode. + +==== positional arguments +* +'mode'+: The mode to enter. See `:help bindings.commands` for the available modes, but note that hint/command/yesno/prompt mode + can't be entered manually. + + [[navigate]] === navigate Syntax: +:navigate [*--tab*] [*--bg*] [*--window*] 'where'+ @@ -1602,7 +1602,7 @@ How many steps to zoom out. |<<completion-item-focus,completion-item-focus>>|Shift the focus of the completion menu to another item. |<<completion-item-yank,completion-item-yank>>|Yank the current completion item into the clipboard. |<<hint-follow,hint-follow>>|Follow a hint. -|<<leave-mode,leave-mode>>|Leave the mode we're currently in. +|<<mode-leave,mode-leave>>|Leave the mode we're currently in. |<<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. @@ -1697,8 +1697,8 @@ Follow a hint. ==== optional arguments * +*-s*+, +*--select*+: Only select the given hint, don't necessarily follow it. -[[leave-mode]] -=== leave-mode +[[mode-leave]] +=== mode-leave Leave the mode we're currently in. [[move-to-end-of-document]] diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 4253a18ec..5562df390 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -464,7 +464,7 @@ Default: * +pass:[$]+: +pass:[move-to-end-of-line]+ * +pass:[0]+: +pass:[move-to-start-of-line]+ * +pass:[<Ctrl-Space>]+: +pass:[selection-drop]+ -* +pass:[<Escape>]+: +pass:[leave-mode]+ +* +pass:[<Escape>]+: +pass:[mode-leave]+ * +pass:[<Return>]+: +pass:[yank selection]+ * +pass:[<Space>]+: +pass:[selection-toggle]+ * +pass:[G]+: +pass:[move-to-end-of-document]+ @@ -477,7 +477,7 @@ Default: * +pass:[[]+: +pass:[move-to-start-of-prev-block]+ * +pass:[]]+: +pass:[move-to-start-of-next-block]+ * +pass:[b]+: +pass:[move-to-prev-word]+ -* +pass:[c]+: +pass:[enter-mode normal]+ +* +pass:[c]+: +pass:[mode-enter normal]+ * +pass:[e]+: +pass:[move-to-end-of-word]+ * +pass:[gg]+: +pass:[move-to-start-of-document]+ * +pass:[h]+: +pass:[move-to-prev-char]+ @@ -515,7 +515,7 @@ Default: * +pass:[<Ctrl-W>]+: +pass:[rl-unix-word-rubout]+ * +pass:[<Ctrl-Y>]+: +pass:[rl-yank]+ * +pass:[<Down>]+: +pass:[completion-item-focus --history next]+ -* +pass:[<Escape>]+: +pass:[leave-mode]+ +* +pass:[<Escape>]+: +pass:[mode-leave]+ * +pass:[<PgDown>]+: +pass:[completion-item-focus next-page]+ * +pass:[<PgUp>]+: +pass:[completion-item-focus prev-page]+ * +pass:[<Return>]+: +pass:[command-accept]+ @@ -528,16 +528,16 @@ Default: * +pass:[<Ctrl-B>]+: +pass:[hint all tab-bg]+ * +pass:[<Ctrl-F>]+: +pass:[hint links]+ * +pass:[<Ctrl-R>]+: +pass:[hint --rapid links tab-bg]+ -* +pass:[<Escape>]+: +pass:[leave-mode]+ +* +pass:[<Escape>]+: +pass:[mode-leave]+ * +pass:[<Return>]+: +pass:[hint-follow]+ - +pass:[insert]+: * +pass:[<Ctrl-E>]+: +pass:[edit-text]+ -* +pass:[<Escape>]+: +pass:[leave-mode]+ +* +pass:[<Escape>]+: +pass:[mode-leave]+ * +pass:[<Shift-Ins>]+: +pass:[insert-text -- {primary}]+ - +pass:[normal]+: -* +pass:[']+: +pass:[enter-mode jump_mark]+ +* +pass:[']+: +pass:[mode-enter jump_mark]+ * +pass:[+]+: +pass:[zoom-in]+ * +pass:[-]+: +pass:[zoom-out]+ * +pass:[.]+: +pass:[repeat-command]+ @@ -584,7 +584,7 @@ Default: * +pass:[<Ctrl-T>]+: +pass:[open -t]+ * +pass:[<Ctrl-Tab>]+: +pass:[tab-focus last]+ * +pass:[<Ctrl-U>]+: +pass:[scroll-page 0 -0.5]+ -* +pass:[<Ctrl-V>]+: +pass:[enter-mode passthrough]+ +* +pass:[<Ctrl-V>]+: +pass:[mode-enter passthrough]+ * +pass:[<Ctrl-W>]+: +pass:[tab-close]+ * +pass:[<Ctrl-X>]+: +pass:[navigate decrement]+ * +pass:[<Ctrl-^>]+: +pass:[tab-focus last]+ @@ -620,12 +620,12 @@ Default: * +pass:[Ss]+: +pass:[open qute://settings]+ * +pass:[T]+: +pass:[tab-focus]+ * +pass:[U]+: +pass:[undo -w]+ -* +pass:[V]+: +pass:[enter-mode caret ;; selection-toggle --line]+ +* +pass:[V]+: +pass:[mode-enter caret ;; selection-toggle --line]+ * +pass:[ZQ]+: +pass:[quit]+ * +pass:[ZZ]+: +pass:[quit --save]+ * +pass:[[[]+: +pass:[navigate prev]+ * +pass:[]]]+: +pass:[navigate next]+ -* +pass:[`]+: +pass:[enter-mode set_mark]+ +* +pass:[`]+: +pass:[mode-enter set_mark]+ * +pass:[ad]+: +pass:[download-cancel]+ * +pass:[b]+: +pass:[set-cmd-text -s :quickmark-load]+ * +pass:[cd]+: +pass:[download-clear]+ @@ -653,7 +653,7 @@ Default: * +pass:[gt]+: +pass:[set-cmd-text -s :tab-select]+ * +pass:[gu]+: +pass:[navigate up]+ * +pass:[h]+: +pass:[scroll left]+ -* +pass:[i]+: +pass:[enter-mode insert]+ +* +pass:[i]+: +pass:[mode-enter insert]+ * +pass:[j]+: +pass:[scroll down]+ * +pass:[k]+: +pass:[scroll up]+ * +pass:[l]+: +pass:[scroll right]+ @@ -695,7 +695,7 @@ Default: * +pass:[tsh]+: +pass:[config-cycle -p -t -u *://{url:host}/* content.javascript.enabled ;; reload]+ * +pass:[tsu]+: +pass:[config-cycle -p -t -u {url} content.javascript.enabled ;; reload]+ * +pass:[u]+: +pass:[undo]+ -* +pass:[v]+: +pass:[enter-mode caret]+ +* +pass:[v]+: +pass:[mode-enter caret]+ * +pass:[wB]+: +pass:[set-cmd-text -s :bookmark-load -w]+ * +pass:[wIf]+: +pass:[devtools-focus]+ * +pass:[wIh]+: +pass:[devtools left]+ @@ -728,7 +728,7 @@ Default: * +pass:[}}]+: +pass:[navigate next -t]+ - +pass:[passthrough]+: -* +pass:[<Shift-Escape>]+: +pass:[leave-mode]+ +* +pass:[<Shift-Escape>]+: +pass:[mode-leave]+ - +pass:[prompt]+: * +pass:[<Alt-B>]+: +pass:[rl-backward-word]+ @@ -750,19 +750,19 @@ Default: * +pass:[<Ctrl-X>]+: +pass:[prompt-open-download]+ * +pass:[<Ctrl-Y>]+: +pass:[rl-yank]+ * +pass:[<Down>]+: +pass:[prompt-item-focus next]+ -* +pass:[<Escape>]+: +pass:[leave-mode]+ +* +pass:[<Escape>]+: +pass:[mode-leave]+ * +pass:[<Return>]+: +pass:[prompt-accept]+ * +pass:[<Shift-Tab>]+: +pass:[prompt-item-focus prev]+ * +pass:[<Tab>]+: +pass:[prompt-item-focus next]+ * +pass:[<Up>]+: +pass:[prompt-item-focus prev]+ - +pass:[register]+: -* +pass:[<Escape>]+: +pass:[leave-mode]+ +* +pass:[<Escape>]+: +pass:[mode-leave]+ - +pass:[yesno]+: * +pass:[<Alt-Shift-Y>]+: +pass:[prompt-yank --sel]+ * +pass:[<Alt-Y>]+: +pass:[prompt-yank]+ -* +pass:[<Escape>]+: +pass:[leave-mode]+ +* +pass:[<Escape>]+: +pass:[mode-leave]+ * +pass:[<Return>]+: +pass:[prompt-accept]+ * +pass:[N]+: +pass:[prompt-accept --save no]+ * +pass:[Y]+: +pass:[prompt-accept --save yes]+ |