On Thu, 6 Jan 2011, Michal Dorsett wrote:
Date: Thu, 6 Jan 2011 05:49:48 +0200
From: Michal Dorsett <[email protected]>
Reply-To: [email protected]
To: "[email protected]" <[email protected]>
Subject: Re: Passing params to a recording
Thank for your response. I have a few questions:
1. How do I include '=repeat...' in the recording?
2. What is the final 'p' after the '^M'?
3. Is there a way to edit recordings?
Thanks,
Michal
i'll try question no. 3.
it is relatively easy to make a recording, edit it, then use it. for
example, a recording to append the simple string EOL to the current line
whereupon the cursor currently lies might be done like so:
q0A EOL^[q
where the key combo ^[ is the escape key.
the recording has been stored in register 0, the first character after the
q (which is the key that initiates and terminates the recording). so,
still in an open vim buffer, put the register (in normal mode) in an empty
line like so: "0p
now, edit the key sequence as desired and employ it in the desired method
(a simple map, a function, or yank it all back into register 0).
--
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