From 8b09b0094285bb832ab88ac001b1fe631b10bfb1 Mon Sep 17 00:00:00 2001 From: A-Walrus Date: Mon, 13 Feb 2023 04:40:31 +0200 Subject: Add :toggle-option command (#4085) This command toggles the value of boolean options--- book/src/generated/typable-cmd.md | 1 + 1 file changed, 1 insertion(+) (limited to 'book/src/generated') 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.
For example to disable smart case search, use `:set search.smart-case false`. | +| `:toggle-option`, `:toggle` | Toggle a boolean config option at runtime.
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. | -- cgit v1.2.3-70-g09d2