mc/misc/mc.lib
Sergei Trofimovich bad1523378 Ticket #4149: add 'alacritty', 'tmux', 'tmux-256color' as xterm aliases
'alacritty', 'tmux' and 'tmux-256color' all implement Shift+F<N> keys
in an xterm-compatible way. Without this change Shift+F<N> are handled
as F<N-2> key presses.

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2020-12-13 20:18:48 +03:00

177 lines
2.5 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[External editor or viewer parameters]
vi=+%lineno %filename
vim=+%lineno %filename
view=+%lineno %filename
emacs=+%lineno %filename
nano=+%lineno %filename
joe=+%lineno %filename
more=+%lineno %filename
less=+%lineno %filename
mcedit=%filename:%lineno
[Special dirs]
list=/afs;/coda;/:;/...;/net;/#smb
[terminal:console]
insert=\\e[2~
f11=\\e[23~
f12=\\e[24~
f13=\\e[25~
f14=\\e[26~
f15=\\e[28~
f16=\\e[29~
f17=\\e[31~
f18=\\e[32~
f19=\\e[33~
f20=\\e[34~
kpleft=\\eOt
kpright=\\eOv
kpup=\\eOx
kpdown=\\eOr
kphome=\\eOw
kpend=\\eOq
kpnpage=\\eOs
kpppage=\\eOy
kpplus=\\eOl
kpminus=\\eOS
kpasterisk=\\eOR
kpinsert=\\eOp
kpdelete=\\eOn
kpenter=\\eOM
kpslash=\\eOQ
kpnumlock=\\eOP
[terminal:linux]
insert=\\e[2~
f11=\\e[23~
f12=\\e[24~
f13=\\e[25~
f14=\\e[26~
f15=\\e[28~
f16=\\e[29~
f17=\\e[31~
f18=\\e[32~
f19=\\e[33~
f20=\\e[34~
kpleft=\\eOt
kpright=\\eOv
kpup=\\eOx
kpdown=\\eOr
kphome=\\eOw
kpend=\\eOq
kpnpage=\\eOs
kpppage=\\eOy
kpplus=\\eOl
kpminus=\\eOS
kpasterisk=\\eOR
kpinsert=\\eOp
kpdelete=\\eOn
kpenter=\\eOM
kpslash=\\eOQ
kpnumlock=\\eOP
[terminal:xterm]
insert=\\e[2~
f11=\\e[23~;\\eO2P;\\eO1\;2P;\\e[1\;2P
f12=\\e[24~;\\eO2Q;\\eO1\;2Q;\\e[1\;2Q
f13=\\e[25~;\\eO2R;\\eO1\;2R;\\e[1\;2R
f14=\\e[26~;\\eO2S;\\eO1\;2S;\\e[1\;2S
f15=\\e[28~;\\e[15\;2~
f16=\\e[29~;\\e[17\;2~
f17=\\e[31~;\\e[18\;2~
f18=\\e[32~;\\e[19\;2~
f19=\\e[33~;\\e[20\;2~
f20=\\e[34~;\\e[21\;2~
kpleft=\\eOt
kpright=\\eOv
kpup=\\eOx
kpdown=\\eOr
kphome=\\eOw
kpend=\\eOq
kpnpage=\\eOs
kpppage=\\eOy
kpplus=\\eOk
kpminus=\\eOm
kpasterisk=\\eOj
delete=\\e[3~
bs=
home=\\e[1~;\\e[7~;\\eOH;\\e[H
end=\\eOF;\\e[F;\\e[4~;\\e[8~
pgdn=\\e[6~
pgup=\\e[5~
# Arrows for both keypad modes (application and normal).
up=\\e[A
up=\\eOA
down=\\e[B
down=\\eOB
right=\\e[C
right=\\eOC
left=\\e[D
left=\\eOD
# arrows with modifiers
alt-shift-right=\\e[1\;4C
alt-shift-left=\\e[1\;4D
alt-shift-up=\\e[1\;4A
alt-shift-down=\\e[1\;4B
[terminal:alacritty]
copy=xterm
[terminal:gnome]
copy=xterm
[terminal:rxvt]
copy=xterm
[terminal:xterm-new]
copy=xterm
[terminal:xterm-color]
copy=xterm
[terminal:xterm-256color]
copy=xterm
[terminal:screen]
copy=xterm
[terminal:screen-256color]
copy=xterm
[terminal:tmux]
copy=xterm
[terminal:tmux-256color]
copy=xterm
[terminal:ibmpc3]
f11=\\e[Y
f12=\\e[Z
f13=\\e[a
f14=\\e[b
f15=\\e[c
f16=\\e[d
f17=\\e[e
f18=\\e[f
f19=\\e[g
f20=\\e[h
bs=^h
end=\\e[F
kpplus=\\e[+
kpminus=\\e[-
kpasterisk=\\e[*
[terminal:cons25]
f11=\\e[Y
f12=\\e[Z
f13=\\e[a
f14=\\e[b
f15=\\e[c
f16=\\e[d
f17=\\e[e
f18=\\e[f
f19=\\e[g
f20=\\e[h