Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Extending zed
- X-seq: zsh-users 23431
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Extending zed
- Date: Mon, 4 Jun 2018 10:50:42 +0100
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180604095046euoutp0137036fb97f91658374d6eaac03b93154~07Cuy5D0k2781727817euoutp01Y
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1528105846; bh=lxkx4h4FF7dsy/eqkEo3skAfZupH+yrNKFqR79HsMdA=; h=Date:From:To:Subject:In-Reply-To:References:From; b=sgp5ERdcYrUwMW4HJ0quHY9LZZvkwSrmvpQxwKIixriYjqfozdtasH6Cy73hQGWPu UuH8EoZTIQcCVpn/HFZY69SNtny5vfBfrkqjoqOyreUZDrbqgDLPdYHznxJ6cvS54J /ELBJ3lv40tnaSD83FiSz28xYValOwLyzPpMtihY=
- In-reply-to: <CAKc7PVCV3TCe4k-SyJOiD6aDA+uF5FRM_5Q45X9sLPOeCOunWA@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: SCSC
- References: <CGME20180603055854epcas5p1e92f5a41384aeb9d1555751df74f57ee@epcas5p1.samsung.com> <CAKc7PVDas7ZvXA0CvR1opSH5Wz0d=FVj=NZHGSu2k3C_o=fGZQ@mail.gmail.com> <20180604083801eucas1p258b13dadf37a66e8a59e8714462d0577~06DN1ECXq0206402064eucas1p26@eucas1p2.samsung.com> <CAKc7PVCV3TCe4k-SyJOiD6aDA+uF5FRM_5Q45X9sLPOeCOunWA@mail.gmail.com>
On Mon, 4 Jun 2018 11:41:56 +0200
Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> Zed always gives me impression that I will touch something improper
> and break the function or file I'm editing. Maybe we could set up few
> things that will make zed more predictable? The page-up, page-down are
> good example, before those binding the keys were calling history and
> really breaking the viewport. Currently "u" key doesn't do undo and
> breaks viewport, could I bind it? I would send a patch. Also, would it
> be possible to implement ESC:wq, i.e. regular way of leaving vim-like
> editor.
bindkey extensions ought to be unproblematic --- you'll see there's
already a zed keymap which binds ^x^w to accept-line.
What we really need is to separate that out so we can set up a default
keyboard and map early before zed actually runs, giving the user the
opportunity to override it. Perhaps this could be a zed-setup function
that zed will call itself if it hasn't yet been run.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author