mc/misc/mc.lib
Andrew Borodin 4e6dc8cbc9 Ticket #3044: invalid order of filename and line number for external editor.
Most applications require the line number to precede the filename,
with apparently 'vim' and 'mcedit' being the only exceptions
(they accept both possible orders). E.g. 'emacs +10 /etc/services'
opens that file at line 10, but 'emacs /etc/services +10' simply
ignores the line number.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-11-29 14:03:53 +04:00

165 lines
2.3 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
kpasterix=\\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
kpasterix=\\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
kpasterix=\\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: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: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[-
kpasterix=\\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