path: root/doc/toggle_option_flag.txt
blob: a421da3576af9fc62dd4048d1aefa6b51fe562be (plain) (tree)

*toggle_option_flag.txt*	For Vim version 7.0	Last change: 2018 May 30

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|).