On Monday, February 11, 2013 10:06:12 AM UTC-6, Benji Fisher wrote:
>
> You can also make small changes from the command line:
>
>
>
> :let @+ = @+ . "\<CR>"
>
>
To expand on this, you can also usually change the contents as well, not just append.
For example, type :let @+=' and then type CTRL-R CTRL-R + to get the current contents of the + register. Follow it up with a ' and press enter.
This works unless you have a single quote actually in the register. For that situation, just go back and put a second single quote right next to it.
http://vim.wikia.com/wiki/Macros#Saving_a_macro
http://vim.wikia.com/wiki/Macros#Editing_a_macro
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Monday, February 11, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment