summaryrefslogtreecommitdiffstats
path: root/misc/mc.lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:03 +0000
commitffccd5b2b05243e7976db80f90f453dccfae9886 (patch)
tree39a43152d27f7390d8f7a6fb276fa6887f87c6e8 /misc/mc.lib
parentInitial commit. (diff)
downloadmc-ffccd5b2b05243e7976db80f90f453dccfae9886.tar.xz
mc-ffccd5b2b05243e7976db80f90f453dccfae9886.zip
Adding upstream version 3:4.8.30.upstream/3%4.8.30
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'misc/mc.lib')
-rw-r--r--misc/mc.lib163
1 files changed, 163 insertions, 0 deletions
diff --git a/misc/mc.lib b/misc/mc.lib
new file mode 100644
index 0000000..a7fa922
--- /dev/null
+++ b/misc/mc.lib
@@ -0,0 +1,163 @@
+[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
+
+[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]
+copy=console
+
+[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
+
+[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
+
+[terminal:st]
+shift-right=\\e[1\;2C
+shift-left=\\e[1\;2D
+shift-up=\\e[1\;2A
+shift-down=\\e[1\;2B
+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:st-256color]
+copy=st
+
+[terminal:st-git-256color]
+copy=st
+
+[terminal:xterm-kitty]
+copy=xterm