You are not logged in.

#1 2015-08-29 19:43:40

TaiSHi
Member
Registered: 2015-08-29
Posts: 6

Ctrl+Home/End not working in terminator/zsh

Hi, I'm switching to terminator from konsole due to resource consumption, among some things I've found out that Ctrl+Home or Ctrl+End didn't work (I use them in vim).
Other things didn't work either (home and end key from my laptop's keypad, but that's fixed)

Here's the oputput of some keypresses regarding those keys
Home key:
Konsole: ^[[H
Terminator: ^[[1~

End key
Konsole: ^[[F
Terminator: ^[[4~

These 2 show up as
Ctrl+Home
Konsole: ^[[1;5H
Terminator: ^[[1~

Ctrl+End
Konsole: ^[[1;5F
Terminator: ^[[4~

I'm reading that data by executing 'cat' and copying the output.
Any ideas what might be causing this? Tried with bash as well with no success (on Terminator).

Best regards,
T

Last edited by TaiSHi (2015-08-29 21:17:49)

Offline

#2 2015-08-29 19:50:36

SirMyztiq
Member
Registered: 2015-03-24
Posts: 118

Re: Ctrl+Home/End not working in terminator/zsh

TaiSHi wrote:

Hi, I'm switching to terminator from konsole due to resource consumption, among some things I've found out that Ctrl+Home or Ctrl+End didn't work (I use them in vi).
Other things didn't work either (home and end key from my laptop's keypad, but that's fixed)

Here's the oputput of some keypresses regarding those keys
Home key:
Konsole: ^[[H
Terminator: ^[[1~

End key
Konsole: ^[[F
Terminator: ^[[4~

These 2 show up as
Ctrl+Home
Konsole: ^[[1;5H
Terminator: ^[[1~

Ctrl+End
Konsole: ^[[1;5F
Terminator: ^[[4~

I'm reading that data by executing 'cat' and copying the output.
Any ideas what might be causing this? Tried with bash as well with no success (on Terminator).

Best regards,
T

What do you expect those keys to do?
Terminator's tab switch commands are tied to those two.

Offline

#3 2015-08-29 20:07:04

TaiSHi
Member
Registered: 2015-08-29
Posts: 6

Re: Ctrl+Home/End not working in terminator/zsh

I couldn't find them in the keybindings. I expect them to go to the start/end of the file when using vim

Cheers,
T

Offline

#4 2015-08-29 21:10:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Ctrl+Home/End not working in terminator/zsh

TaiSHi wrote:

I've found out that Ctrl+Home or Ctrl+End didn't work (I use them in vi).

These aren't vi{,m} binds...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2015-08-29 21:12:51

TaiSHi
Member
Registered: 2015-08-29
Posts: 6

Re: Ctrl+Home/End not working in terminator/zsh

@jasonwryan according to help (:help C-end) they are, and I use them, it's just they wont work with terminator for some reason

Best regards,
T

Offline

#6 2015-08-29 21:14:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Ctrl+Home/End not working in terminator/zsh

My bad: they are in {,g}vim: not vi


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-08-29 21:17:14

TaiSHi
Member
Registered: 2015-08-29
Posts: 6

Re: Ctrl+Home/End not working in terminator/zsh

I'm editing my first post, you're right I was referring to vim.
Thanks for pointing it out!

Offline

#8 2015-08-29 21:35:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Ctrl+Home/End not working in terminator/zsh


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2015-08-29 21:39:57

TaiSHi
Member
Registered: 2015-08-29
Posts: 6

Re: Ctrl+Home/End not working in terminator/zsh

Tried to read keycodes with cat, but there's no output difference while pressing control or not

Offline

#10 2015-08-30 15:27:47

SirMyztiq
Member
Registered: 2015-03-24
Posts: 118

Re: Ctrl+Home/End not working in terminator/zsh

The key bindings aren't set for those keys in Terminator?

Offline

#11 2015-08-30 16:25:41

TaiSHi
Member
Registered: 2015-08-29
Posts: 6

Re: Ctrl+Home/End not working in terminator/zsh

Nope, nothing related to Home/End nor KP Home/End

Offline

Board footer

Powered by FluxBB