diff options
Diffstat (limited to 'vim/doc/toggle_option_flag.txt')
-rw-r--r-- | vim/doc/toggle_option_flag.txt | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/vim/doc/toggle_option_flag.txt b/vim/doc/toggle_option_flag.txt index 9415ae6b..be035221 100644 --- a/vim/doc/toggle_option_flag.txt +++ b/vim/doc/toggle_option_flag.txt @@ -1,17 +1,37 @@ -*toggle_option_flag.txt* Commands to toggle option flags +*toggle_option_flag.txt* For Vim version 7.0 Last change: 2017 November 12 -Author: Tom Ryder <tom@sanctum.geek.nz> -License: Same terms as Vim itself (see |license|) +DESCRIPTION *toggle_option_flag* -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 + *: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. - :ToggleOptionFlag formatoptions a - :ToggleOptionFlag switchbuf useopen - :ToggleOptionFlagLocal shortmess I +EXAMPLES *toggle_option_flag-examples* +> + :ToggleOptionFlag formatoptions a + :ToggleOptionFlag switchbuf useopen + :ToggleOptionFlagLocal shortmess I +< +REQUIREMENTS *toggle_option_flag-requirements* -This plugin lives in Tom Ryder's "dotfiles" suite, and will eventually be spun +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. +improves. See <https://sanctum.geek.nz/cgit/dotfiles.git/about/> for more +information. + + vim:tw=78:ts=8:ft=help:norl: |