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>
This commit is contained in:
Andrew Borodin 2013-11-29 14:03:53 +04:00
parent 4c3d5df63b
commit 4e6dc8cbc9
1 changed files with 9 additions and 9 deletions

View File

@ -1,13 +1,13 @@
[External editor or viewer parameters]
vi=%filename +%lineno
vim=%filename +%lineno
view=%filename +%lineno
emacs=%filename +%lineno
nano=%filename +%lineno
joe=%filename +%lineno
more=%filename +%lineno
less=%filename +%lineno
mcedit=%filename:%lineno
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