aboutsummaryrefslogtreecommitdiff
path: root/vim/doc/toggle_option_flag.txt
blob: 16557d5c08cff776fc6edfb37cc983d42ec4934b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
*toggle_option_flag.txt*  Commands to toggle single-character 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 flags. The author originally designed it
for toggling flags in |'formatoptions'| quickly.

    :ToggleOptionFlag formatoptions a
    :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.