You are not logged in.

#1 2018-12-04 11:27:40

Mladia
Member
Registered: 2016-04-30
Posts: 59

[SOLVED] Zsh inputrc - Vi mode

I have problems with my Home and End key.
Upon pressing the home key I get
from

~ 
 ➜ text
~ 
 ➜     H
text

I have generated a zkbd file. In it, it says

...
key[Home]='^[[H'
..

So I added  to my .zshrc

bindkey '^[[H' beginning-of-line

The same thing happens with the End key, but the sequence is with the letter `F` not `H`.

I don't have this problem in Emacs mode, only in Vi mode. I don't have the problem with bash. Changing the terminal also doesn't change anything.
Is there something I am missing here?

Last edited by Mladia (2018-12-17 14:14:27)

Offline

#2 2018-12-17 14:13:58

Mladia
Member
Registered: 2016-04-30
Posts: 59

Re: [SOLVED] Zsh inputrc - Vi mode

After some time I found the solution. It was even in our wiki. https://wiki.archlinux.org/index.php/Ho … ot_working

Offline

Board footer

Powered by FluxBB