To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

shift+arrows, ctrl-home/end, ctrl-alt-home/end wanted

angel_il - Mon 29/11/2010 13:33:09 CET +0100

can you add support for addition key sequences like this:
shift+arrows, ctrl-shift+arrows, ctrl-shift+arrows, ctrl-home/end, ctrl-alt-home/end, etc ?

thanx,
wbr
     Ilia Maslakov

angel_il - Thu 03/02/2011 19:16:45 CET +0100

what about this features?

Cyd - Fri 04/02/2011 15:24:02 CET +0100

You can already define specific behavior for those key sequences.
For example add these lines to your %APPDATA%/KiTTY/kitty.ini file:
[Shortcuts]
list={CONTROL}{SHIFT}{UP} {CONTROL}{HOME}
{CONTROL}{SHIFT}{UP}=echo ctrl+shift+up
{CONTROL}{HOME}=echo ctrl+home

angel_il - Tue 08/02/2011 12:27:11 CET +0100

1) i define "ctrl-shift-left" and "ctrl-shift-right"
[Shortcuts]
list={CONTROL}{SHIFT}{LEFT} {CONTROL}{SHIFT}{RIGHT}
{CONTROL}{SHIFT}{LEFT}=[[[1;6D
{CONTROL}{SHIFT}{RIGHT}=[[[1;6C

2)
into mc (midnight commander) i'm start "Learn keys..." and bind ctrl-shift-right into [Function key 13 ], ctrl-shift-left into [Function key 14 ]

3) [< Save >]

4) i'm open ini file and see

[terminal:xterm]
f13=^[[[1\;6Dj
f14=^[[[1\;6Cj

but must be

[terminal:xterm]
f13=[[[1\;6D
f14=[[[1\;6C

can you fix it?

thank you.





Answer


The forum is actually closed