Tuesday, November 10, 2015

Re: override record

How about this - is there an event that I can use to just redefine what vim already made with the same information?

On Nov 10, 2015 6:35 AM, "Tim Chase" <vim@tim.thechases.com> wrote:
On 2015-11-10 09:12, Tim Ferguson wrote:
> : let @a = <c-r>a
>
> and that puts the content on the edit line for you to edit it
> visually.

You have to deal with escaping issues here (and remember to quote
it).  So it would be

  :let @a='<c-r>a'
  :let @a="<c-r>a"

but then go back and escape any single/double-quotes in your macro
(and in the double-quote case, there are other metachars that would
need to be replaced if they're in your macro).

-tim

> {An other} Tim

I have longevity and less duplication here, so I tend to use "Tim"
when signing off whereas on the Python mailing list, I'm one of many
Tims, some of whom are much more famous, so I sign off there with my
initials which are more unique.

--
--
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/d/optout.

--
--
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/d/optout.

No comments: