On Mon, 11 Feb 2013 08:20:49 -0800 (PST), Ben Fritz wrote: > 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.
Because a register can be accessed as a variable, you can even do things like :let @+ = substitute(@+, 'foo', 'bar', 'g') -tim -- -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
