blob: be03522104826a15ba5aae723b568f2e735e1d13 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
*toggle_option_flag.txt* For Vim version 7.0 Last change: 2017 November 12
DESCRIPTION *toggle_option_flag*
*:ToggleOptionFlag* *:ToggleOptionFlagLocal*
This plugin provides `:ToggleOptionFlag` and `:ToggleOptionFlagLocal` commands
to toggle the values of options like |'formatoptions'| or |'complete'| that
have values comprised of single-character or comma-separated flags. The author
originally designed it for toggling flags in |'formatoptions'| quickly.
EXAMPLES *toggle_option_flag-examples*
>
:ToggleOptionFlag formatoptions a
:ToggleOptionFlag switchbuf useopen
:ToggleOptionFlagLocal shortmess I
<
REQUIREMENTS *toggle_option_flag-requirements*
This plugin is only available if 'compatible' is not set. It also requires the
|+user_commands| Vim feature.
AUTHOR *toggle_option_flag-author*
Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.
LICENSE *toggle_option_flag-license*
Licensed for distribution under the same terms as Vim itself (see |license|).
DISTRIBUTION *toggle_option_flag-distribution*
This plugin lives in Tom Ryder's "dotfiles" suite, and may eventually be spun
off into a separate distribution as it solidifies and this documentation
improves. See <https://sanctum.geek.nz/cgit/dotfiles.git/about/> for more
information.
vim:tw=78:ts=8:ft=help:norl:
|