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 | |
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')
-rw-r--r-- | vim/doc/flag_toggle.txt | 15 | ||||
-rw-r--r-- | vim/doc/toggle_option_flag.txt | 16 |
2 files changed, 16 insertions, 15 deletions
diff --git a/vim/doc/flag_toggle.txt b/vim/doc/flag_toggle.txt deleted file mode 100644 index 5f1b504a..00000000 --- a/vim/doc/flag_toggle.txt +++ /dev/null @@ -1,15 +0,0 @@ -*flag_toggle.txt* Functions to toggle single-character flags in options - -Author: Tom Ryder <tom@sanctum.geek.nz> -License: Same terms as Vim itself (see |license|) - -This plugin provides functions flag_toggle#Toggle(option, flag) and -flag_toggle#ToggleLocal(option, flag) 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. - -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. - 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. |