Hi meino.cramer! On Do, 11 Jun 2009, [email protected] wrote:
> I am often using :wa to save all source files which > are open to save to disk. > On a keyboard with german layout ":" is a key, which > is reachable via pressing shift-. > Unfortunately it seems, that my right hand is slower > than my left one for an unknown reason so I > type :Wa instead of :wa a several thousand times > a day ;) > > My experiments to map :Wa to :wa failed. Something > very stupid I doing wrong. > Sounds familiar. I have the following in my .vimrc: " 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> regards, Christian -- :wq! --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
