On 07/13/2010 12:34 PM, Ben Fritz wrote:
On Jul 13, 9:45 am, AK <[email protected]> wrote: > > It also might make sense to make mappings for a recording to a register > and for playing back that register. Then recording and playback > will take 2 and 1 letters respectively. It's a very common usage to > repeat a few operations and simplifying recording/playback can lead to > recording being used much more frequently. I personally use "qq" to > record because it's nearly as easy as a single command and Q to play > back the register. I use it all the time! > Be careful! ":help recording" says "the 'q' command is disabled while executing a register, and it doesn't work inside a mapping."
I meant starting recording with a mapping, which does work (at least, here). Stopping recording takes a single character so it wouldn't make sense to make a mapping for it :-). -ak -- 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
