You are not logged in.

#1 2018-08-02 10:31:24

thommen
Member
From: Poland
Registered: 2017-12-30
Posts: 239

[SOLVED] Home and End keys not working in zsh

My .zshrc

# Created by newuser for 5.5.1

# historia
HISTFILE=~/.zsh_history
HISTSIZE=10000000
SAVEHIST=10000000

# kolorowanie składni
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

# mapowanie klawiszy
bindkey    "^[[3~"          delete-char
bindkey    "^[3;5~"         delete-char
bindkey "${terminfo[khome]}" beginning-of-line
bindkey "${terminfo[kend]}" end-of-line
# mapowanie klawiszy

but the Home and End key still does not work. I got the idea from the site → https://wiki.archlinux.org/index.php/Ho … ot_working. I also read → https://bbs.archlinux.org/viewtopic.php … 42#p201942 but it did not help.

Last edited by thommen (2018-08-02 14:49:11)

Offline

#2 2018-08-02 13:48:27

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,843

Re: [SOLVED] Home and End keys not working in zsh

Try

bindkey "\e[H" beginning-of-line
bindkey "\e[F" end-of-line

Offline

#3 2018-08-02 14:48:48

thommen
Member
From: Poland
Registered: 2017-12-30
Posts: 239

Re: [SOLVED] Home and End keys not working in zsh

Thank you works. Write to me or the existence of a ready list, where can I use my settings?

Offline

#4 2018-08-02 15:39:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,843

Re: [SOLVED] Home and End keys not working in zsh

You should check the output of "${terminfo[khome]}" - might relate to the terminal emulator (konsole, xterm, urxvt, …)

thommen wrote:

Write to me or the existence of a ready list, where can I use my settings?

I beg your pardon?

Offline

#5 2018-08-03 12:58:22

thommen
Member
From: Poland
Registered: 2017-12-30
Posts: 239

Re: [SOLVED] Home and End keys not working in zsh

I understood everything

Offline

Board footer

Powered by FluxBB