Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Shift-Insert overwrites ZLE CUTBUFFER
- X-seq: zsh-workers 39895
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Shift-Insert overwrites ZLE CUTBUFFER
- Date: Wed, 9 Nov 2016 09:27:45 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:in-reply-to :comments:to:subject:mime-version; bh=zhfcYTw8xYG1NsstjcwO+k66HlsxgHQmDOTw6qRUfVM=; b=Az0t1/i9FGOmONH6kEogyQzVpVn7t74qb0LWtqQRSTszcOTYULRhc0Vzz5mlqPtFua ei0QTNEXIxbQnyV5SXpnVSdh2c4YNp6+FVGvENYYQv621ioRZ/ROTeq1r74vYcDTYovV fE/At04TFdbnYx4OlHrSENE+R068RSPAPSKVi7EzUYKh1sEZLlSYXh5cnE1mExa2FNit hDg5B4f99mntbAUp47tyIfSMTp8yZGUxZ+mPwzeo6y9ZfYYnGad0iX4P7Ew2yAMO4uDL lwk8SHxQmkTo1JPKHeH8iZnb3y6Fy9AKa4UDP+nWVLHGI3yFjUom8nZpyh/dac2wMhL3 DKCg==
- In-reply-to: <43312.1477929414@hydra.kiddle.eu>
- In-reply-to: <20161031161605.23af1751@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAMtVo_PG_fd62V1FZ4r7fRUragzzS6H4McN5sO1=hhY=6DR6Yg@mail.gmail.com> <161025091249.ZM7232@torch.brasslantern.com> <CAMtVo_N6qOQr++Amzn11+m3pkOxjc908mwFUerur77+OWd92uw@mail.gmail.com> <161026090133.ZM11120@torch.brasslantern.com> <CAMtVo_P09j6fyJytA21iu_qOom6bCTvJEWn-dXTBX97Bp00Sdg@mail.gmail.com> <161026165138.ZM12130@torch.brasslantern.com> <87h97x36sa.fsf@lwm.klanderman.net> <161027133523.ZM15655@torch.brasslantern.com> <43312.1477929414@hydra.kiddle.eu> <CGME20161031160350epcas3p4849616fbcc05783a9966320a28ed731c@epcas3p4.samsung.com> <20161031161605.23af1751@pwslap01u.europe.root.pri>
Moving this to -workers ...
On Oct 31, 4:56pm, Oliver Kiddle wrote:
}
} Associating it with the existing cut/paste features at least puts
} it in a logical and memorable place, at least once you're aware of
} the feature. And if you know about things like yank-pop or vi "0
} then it is not so likely to be bothersome. But I'd be open to
} something better.
On Oct 31, 4:16pm, Peter Stephenson wrote:
}
} I'm not particularly bothered either way, but $ZLE_PASTED suggest
} itself.
An idea that I just had, spawned in part by Oliver's change to
"print -v" behavior when the target variable is declared as an array:
If ZLE_PASTED has been declared, then the pasted text is copied there
instead of into CUTBUFFER. If it's been declared as an array, it
acts similarly to $killring, i.e., the pasted text is unshifted to
the front and the last element is dropped.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author