- Original message -
Hi, I often use a combo of "qq" (macro recording into register ...


This may not address the latter problem, but to avoid losing the "q
register by accidently hitting two qs, it might be worthwhile to know
that after having executed a macro by, say, @q, the sequence @@ will
repeat the last played back macro. Thus you could just keep holding
alt and tapping q twice, preventing the accidental double tap on q.
HTH.


Sent from Gmail for mobile

On 10/10/09, [email protected] <[email protected]> wrote:
>
>
> Hi,
>
>  I often use a combo of "qq" (macro recording into register q) and
>  "@q" (execution of that macro via execution of the contents of
>  register q).
>  Unfortunately, the '@' on a QWRTZ-keyboard is only reachable via
>  "right-ALT-q" which means that you have to press
>  "right-ALT-q q" for executing the macro once.
>  When executing the macro multiple times and confusing the
>  correct sequence means to loose the macro.
>
>  For that reas I did a
>     nmap <C-e> @q
>  in my ~/,vimrc (I am using vim with linux).
>
>  A
>     :verbose map <C-e>
>  says that the mapping was last changed in ~/.vimrc and
>  maps to <C-e>.
>  So fine, so nice...but:
>
>  If I press
>     <C-e>
>  vim waits in the commandline, displaying
>    :YR: Enter character:
>
>  I think, that the Yankring-plugin (which I do love ;)
>  has intervented my mapping. But this in contradiction
>  to what
>     :verbose map <C-e>
>  tells me.
>
>  Why does vim git stuck in the commandline expecting a character
>  from me and how can I map <C-e> without killing Yankring?
>
>  Thank you very much for any help in advance!
>  Have a nice weekend!
>  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.
>
>
> >
>

-- 
Sent from Gmail for mobile | mobile.google.com

Christopher Suter
www.grooveshark.com

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

Reply via email to