diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 17:35:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-12-02 17:35:22 +1300 |
commit | 17af45c9a5d5753e76f395d4972653c5dae9391a (patch) | |
tree | 49ea2ea27563baf7d4a1f613385ea5942b31475d | |
parent | Add VERSION (diff) | |
download | vim-uncap-ex-17af45c9a5d5753e76f395d4972653c5dae9391a.tar.gz vim-uncap-ex-17af45c9a5d5753e76f395d4972653c5dae9391a.zip |
Add -bar to all commands
Just to allow e.g.
:W | echo "foo!"
It's a weird thing to do, but no real reason not to allow it to be done.
-rw-r--r-- | plugin/uncap_ex.vim | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugin/uncap_ex.vim b/plugin/uncap_ex.vim index bc2f580..c1ee828 100644 --- a/plugin/uncap_ex.vim +++ b/plugin/uncap_ex.vim @@ -16,30 +16,30 @@ endif let g:loaded_uncap_ex = 1 " Define commands -command -bang -complete=file -nargs=? +command -bang -bar -complete=file -nargs=? \ E \ edit<bang> <args> -command -bang -complete=file -nargs=? +command -bang -bar -complete=file -nargs=? \ W \ write<bang> <args> -command -bang -complete=file -nargs=? +command -bang -bar -complete=file -nargs=? \ WQ \ wq<bang> <args> -command -bang -complete=file -nargs=? +command -bang -bar -complete=file -nargs=? \ Wq \ wq<bang> <args> -command -bang +command -bang -bar \ Q \ quit<bang> -command -bang +command -bang -bar \ Qa \ qall<bang> -command -bang +command -bang -bar \ QA \ qall<bang> -command -bang +command -bang -bar \ Wa \ wall<bang> -command -bang +command -bang -bar \ WA \ wa<bang> |