Wednesday, April 25, 2012

Re: Macro-keys

On Wednesday, April 25, 2012 7:58:09 AM UTC-5, esquifit wrote:
>
> Speculations aside, a simple mapping like
>
> nnoremap q @
> nnoremap @ q
>
> should do what you want. Unless I am too naive.

Sadly I don't expect that to work, but do report back if it does.

:help q says,

"The 'q' command is disabled while executing a register, and it doesn't work inside a mapping and :normal."

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: