On Jun 11, 2:27 pm, Christian Brabandt <[email protected]> wrote:
>
> " You are too fast and keep pressing `shift' if you type :w, try
> following
> command! -bang -bar -nargs=? -complete=file -range=% W
> <line1>,<line2>w<bang> <args>
> command! -bang Wq wq<bang>
> command! -bang Q q<bang>
>
I would actually go a different route, using cabbrev as demonstrated
here:
http://vim.wikia.com/wiki/Handle_common_command_typos
Actually, I use the command defined here:
http://vim.wikia.com/wiki/Replace_a_builtin_command_using_cabbrev
so that my corrections only occur if this is the first command on the
command line.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---