Christian Brabandt <[email protected]> [09-06-12 04:03]:
> 
> 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!
> 
> 

I have another, similiar question regarding the "replacement" of
commands:

I often use "vim -" zu edit things, other programs put to stdout.
When I need to cut'n'paste thing from vim to -- say -- firefox
(I am using Linux), I mark the region with the mouse, paste it to
firefox, go back to vim, press ":" then "q" and
TADA! "This command does not accept a region" (or similiar...).

Is there a way to map

:'<,'>q    to   :q

?

Keep hacking! Vim forever! ;)
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to