On 25 Abr, 13:13, George Papanikolaou <[email protected]> wrote: > Hi, > > I was just wondering why the (more-easily typed) 'q' button is mapped by > default to *record* a macro and the '@' character to actually "play" the > macro back.... > > I think most users run macros way more times than record them. > How can I swap the functionality??
I guess this is justified by the fact that the potential damage of accidentally typing q instead of @ is much lower as that of accidentally typing @ instead of q. For one reason: q alerts you that you are starting to record a macro and gives you the opportunity to abort the action, while @ silently waits for the next letter to be typed, which can be any, and it executes the associated macro (if any), possibly without the user noticing it. Speculations aside, a simple mapping like nnoremap q @ nnoremap @ q should do what you want. Unless I am too naive. -- 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
