diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-04 18:21:16 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-04 18:21:16 +1300 |
commit | 2c20a3c3427befd77029fc37cbda0476f650b681 (patch) | |
tree | 7fa7e1050de2a660e71da37d347786371a53b689 /vim/doc/toggle_option_flag.txt | |
parent | Add short documentation for new custom plugins (diff) | |
download | dotfiles-2c20a3c3427befd77029fc37cbda0476f650b681.tar.gz dotfiles-2c20a3c3427befd77029fc37cbda0476f650b681.zip |
Rename toggle plugin again, use commands not funcs
This method makes a bit more sense, and amounts to slightly less verbose
mapping commands. It does really on the +user_commands feature being
available, however.
Diffstat (limited to 'vim/doc/toggle_option_flag.txt')
-rw-r--r-- | vim/doc/toggle_option_flag.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vim/doc/toggle_option_flag.txt b/vim/doc/toggle_option_flag.txt new file mode 100644 index 00000000..16557d5c --- /dev/null +++ b/vim/doc/toggle_option_flag.txt @@ -0,0 +1,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. |