Re: zsh und pos1/end keys

From: Oliver Fromme <olli(at)secnetix.de>
Date: Tue, 10 Jun 2003 01:03:04 +0200 (CEST)

Manfred Lotz <manfred.lotz(at)web.de> wrote:
> Ich würde aber gerne noch das Mapping erweitern, das POS1 an den Anfang der
> Zeile und anlog der END-Key ans Ende der Zeile springt.

Ich habe in meiner ~/.zshrc dafür folgende Zeilen:

bindkey "^[[g" beginning-of-line
bindkey "^[[1~" beginning-of-line
bindkey "^[[h" end-of-line
bindkey "^[[4~" end-of-line

Welche Codes eine bestimmte Tastenkombination erzeugt, kann
man häufig einfach ermitteln, indem man »cat« eingibt und
dann die Tasten drückt.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 10 Jun 2003 - 01:03:08 CEST

search this site