aboutsummaryrefslogtreecommitdiff
path: root/vim/doc/toggle_option_flag.txt
blob: 9415ae6b037ef0672ca82adc3786a7696e4313b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
*toggle_option_flag.txt*  Commands to toggle option flags

Author:  Tom Ryder <tom@sanctum.geek.nz>
License: Same terms as Vim itself (see |license|)

This plugin provides commands :ToggleOptionFlag and :ToggleOptionFlagLocal 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.

    :ToggleOptionFlag formatoptions a
    :ToggleOptionFlag switchbuf useopen
    :ToggleOptionFlagLocal shortmess I

This plugin lives in Tom Ryder's "dotfiles" suite, and will eventually be spun
off into a separate distribution as it solidifies and this documentation
improves.