Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Keybindings for home/end/delete/insert
- X-seq: zsh-users 13178
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Keybindings for home/end/delete/insert
- Date: Sun, 31 Aug 2008 19:12:34 +0200
- In-reply-to: <41004.82543.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <41004.82543.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Daniel Qarras <dqarras@xxxxxxxxx>:
> FWIW, without any ~/.z* files I created the following minimal set of
> keybindings for Linux console / xterm /gnome-terminal, with them
> backspace/delete/insert/home/end/pgup/pgdown work for me on those
> three terminals when using zsh-4.3.
>
> bindkey '\e[1~' beginning-of-line # Linux console
> bindkey '\e[H' beginning-of-line # xterm
> bindkey '\eOH' beginning-of-line # gnome-terminal
> bindkey '\e[2~' overwrite-mode # Linux console, xterm, gnome-terminal
> bindkey '\e[3~' delete-char # Linux console, xterm, gnome-terminal
> bindkey '\e[4~' end-of-line # Linux console
> bindkey '\e[F' end-of-line # xterm
> bindkey '\eOF' end-of-line # gnome-terminal
Also consider the zkbd and $terminfo[] solutions from:
<http://zshwiki.org/home/zle/bindkeys>
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author