aboutsummaryrefslogtreecommitdiff
path: root/book
diff options
context:
space:
mode:
authorA-Walrus2023-02-13 02:40:31 +0000
committerGitHub2023-02-13 02:40:31 +0000
commit8b09b0094285bb832ab88ac001b1fe631b10bfb1 (patch)
treeb9d1fecbe35356c5624baf1412d9efb500592a0d /book
parent87518db1d12ea48a4d2fce7808e24852992b03ee (diff)
Add :toggle-option command (#4085)
This command toggles the value of boolean options
Diffstat (limited to 'book')
-rw-r--r--book/src/generated/typable-cmd.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/book/src/generated/typable-cmd.md b/book/src/generated/typable-cmd.md
index 0ff501a3..7416ac32 100644
--- a/book/src/generated/typable-cmd.md
+++ b/book/src/generated/typable-cmd.md
@@ -61,6 +61,7 @@
| `:goto`, `:g` | Goto line number. |
| `:set-language`, `:lang` | Set the language of current buffer. |
| `:set-option`, `:set` | Set a config option at runtime.<br>For example to disable smart case search, use `:set search.smart-case false`. |
+| `:toggle-option`, `:toggle` | Toggle a boolean config option at runtime.<br>For example to toggle smart case search, use `:toggle search.smart-case`. |
| `:get-option`, `:get` | Get the current value of a config option. |
| `:sort` | Sort ranges in selection. |
| `:rsort` | Sort ranges in selection in reverse order. |