diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-05-31 18:09:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-05-31 18:10:58 +1200 |
commit | 1672dd8d4d41cfce4b2beb70685399a23eaa0956 (patch) | |
tree | 48e4ff7620793cfd1abb351d97cce31129c580e6 /vim | |
parent | Spin off big_file_options Vim plugin (diff) | |
download | dotfiles-1672dd8d4d41cfce4b2beb70685399a23eaa0956.tar.gz dotfiles-1672dd8d4d41cfce4b2beb70685399a23eaa0956.zip |
Spin off command_typos Vim plugin
Renamed as uncap_ex.vim.
Diffstat (limited to 'vim')
m--------- | vim/bundle/uncap_ex | 0 | ||||
-rw-r--r-- | vim/doc/command_typos.txt | 28 | ||||
-rw-r--r-- | vim/plugin/command_typos.vim | 45 |
3 files changed, 0 insertions, 73 deletions
diff --git a/vim/bundle/uncap_ex b/vim/bundle/uncap_ex new file mode 160000 +Subproject 2fceff8fe5ff7cd0d2282c5f46b448443438e66 diff --git a/vim/doc/command_typos.txt b/vim/doc/command_typos.txt deleted file mode 100644 index 938fef27..00000000 --- a/vim/doc/command_typos.txt +++ /dev/null @@ -1,28 +0,0 @@ -*command_typos.txt* For Vim version 7.0 Last change: 2017 November 12 - -DESCRIPTION *command_typos* - -This plugin defines custom commands like :W, :Qa, and :Wq to match their -lowercase analogues, to forgive me when my pinky finger doesn't roll off the -Shift key quite soon enough after pressing the colon key. - -REQUIREMENTS *command_typos-requirements* - -This plugin is only available if 'compatible' is not set. - -AUTHOR *command_typos-author* - -Written and maintained by Tom Ryder <tom@sanctum.geek.nz>. - -LICENSE *command_typos-license* - -Licensed for distribution under the same terms as Vim itself (see |license|). - -DISTRIBUTION *command_typos-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. See <https://sanctum.geek.nz/cgit/dotfiles.git/about/> for more -information. - - vim:tw=78:ts=8:ft=help:norl: diff --git a/vim/plugin/command_typos.vim b/vim/plugin/command_typos.vim deleted file mode 100644 index 6f34c680..00000000 --- a/vim/plugin/command_typos.vim +++ /dev/null @@ -1,45 +0,0 @@ -" -" command_typos.vim: Tolerate typos like :Wq, :Q, or :Qa and do what I mean, -" including any arguments or modifiers; I fat-finger these commands a lot -" because I type them so rapidly, and they don't correspond to any other -" commands I use -" -" Author: Tom Ryder <tom@sanctum.geek.nz> -" License: Same as Vim itself -" -if exists('g:loaded_command_typos') || &compatible - finish -endif -if !has('user_commands') - finish -endif -let g:loaded_command_typos = 1 - -" Define commands -command -bang -complete=file -nargs=? - \ E - \ edit<bang> <args> -command -bang -complete=file -nargs=? - \ W - \ write<bang> <args> -command -bang -complete=file -nargs=? - \ WQ - \ wq<bang> <args> -command -bang -complete=file -nargs=? - \ Wq - \ wq<bang> <args> -command -bang - \ Q - \ quit<bang> -command -bang - \ Qa - \ qall<bang> -command -bang - \ QA - \ qall<bang> -command -bang - \ Wa - \ wall<bang> -command -bang - \ WA - \ wa<bang> |