Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: edit-command-line, vim, and pasting



On Mon, Nov 2, 2015 at 5:16 AM, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> Bart wrote:
>> This is almost certainly yet another unexpected knock-on effect of the
>> new bracketed-paste handling.
>
> Indeed.
>
>> We need a generalized fix for this.  Oliver?
>
> I'm not sure we can do anything more generalized than the following
> patch to edit-command-line. Perhaps the zle builtin could have an option
> to cover the situation but that doesn't help much because the function
> would still need to invoke the builtin. What did you have in mind?
>
> This also changes the comments to suggest ! rather than v as the key for
> edit-command-line (v overrides a default binding that was added since
> edit-command-line was written: visual mode).

Hm. How can I get your fix included into mainline? I don't want to try
and maintain local changes on each of my machines, but
`edit-command-line` is excellent, and I really want to be able to use
it reliably!


⁓ ELLIOTTCABLE — fly safe.
  http://ell.io/tt



Messages sorted by: Reverse Date, Date, Thread, Author