summaryrefslogtreecommitdiffstats
path: root/misc/mc.lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-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