author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 27 Mar 2015 15:05:50 +0200 | |
changeset 737 | ead952765cf1 |
parent 724 | 0340a7e6a5b3 |
child 740 | fe01d9a0eb14 |
permissions | -rw-r--r-- |
323
55f697ab8790
Add mode setting for Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
313
diff
changeset
|
1 |
# -*- mode: conf -*- |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
# All lines starting with # or empty lines are thrown away. |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
# Lines starting in the first column should have following format: |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
# keyword/descNL, i.e. everything after keyword/ until new line is desc |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
7 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
# keyword can be: |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
9 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
10 |
# shell (desc is, when starting with a dot, any extension (no wildcars), |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
11 |
# i.e. matches all the files *desc . Example: .tar matches *.tar; |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
12 |
# if it doesn't start with a dot, it matches only a file of that name) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
13 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
14 |
# regex (desc is an extended regular expression) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
# Please note that we are using the GNU regex library and thus |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
16 |
# \| matches the literal | and | has special meaning (or) and |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
17 |
# () have special meaning and \( \) stand for literal ( ). |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
18 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
19 |
# type (file matches this if `file %f` matches regular expression desc |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
20 |
# (the filename: part from `file %f` is removed)) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
21 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
22 |
# directory (matches any directory matching regular expression desc) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
23 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
24 |
# include (matches an include directive) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
25 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
26 |
# default (matches any file no matter what desc is) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
27 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
28 |
# Other lines should start with a space or tab and should be in the format: |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
29 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
30 |
# keyword=commandNL (with no spaces around =), where keyword should be: |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
31 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
32 |
# Open (if the user presses Enter or doubleclicks it), |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
33 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
34 |
# View (F3), Edit (F4) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
35 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
36 |
# Include is the keyword used to add any further entries from an include/ |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
# section |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
38 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
39 |
# command is any one-line shell command, with the following substitutions: |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
40 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
41 |
# %% -> % character |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
42 |
# %p -> name of the current file (without path, but pwd is its path) |
325
667339502172
Remove archive section as version 4.8.x break compatibility for virtual FS
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
43 |
# %f -> name of the current file. Unlike %p, if file is located on a |
331 | 44 |
# non-local virtual filesystem, i.e. either tarfs or ftpfs, |
45 |
# then the file will be temporarily copied into a local directory |
|
46 |
# and %f will be the full path to this local temporal file. |
|
47 |
# If you don't want to get a local copy and want to get the |
|
48 |
# virtual fs path (like /#ftp:ftp.cvut.cz/pub/hungry/xword), then |
|
49 |
# use %d/%p instead of %f. |
|
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
50 |
# %d -> name of the current directory (pwd, without trailing slash) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
51 |
# %s -> "selected files", i.e. space separated list of tagged files if any |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
52 |
# or name of the current file |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
53 |
# %t -> list of tagged files |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
54 |
# %u -> list of tagged files (they'll be untaged after the command) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
55 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
56 |
# (If these 6 letters are in uppercase, they refer to the other panel. |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
57 |
# But you shouldn't have to use it in this file.) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
58 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
59 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
60 |
# %cd -> the rest is a path mc should change into (cd won't work, since it's |
331 | 61 |
# a child process). %cd handles even vfs names. |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
62 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
63 |
# %view -> the command you type will be piped into mc's internal file viewer |
331 | 64 |
# if you type only the %view and no command, viewer will load %f file |
65 |
# instead (i.e. no piping, so it is different to %view cat %f) |
|
66 |
# %view may be directly followed by {} with a list of any of |
|
67 |
# ascii (Ascii mode), hex (Hex mode), nroff (color highlighting for |
|
68 |
# text using backspace for bold and underscore) and unform |
|
69 |
# (no highlighting for nroff sequences) separated by commas. |
|
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
70 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
71 |
# %var -> You use it like this: %var{VAR:default}. This macro will expand |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
72 |
# to the value of the VAR variable in the environment if it's set |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
73 |
# otherwise the value in default will be used. This is similar to |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
74 |
# the Bourne shell ${VAR-default} construct. |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
75 |
# |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
76 |
# Rules are applied from top to bottom, thus the order is important. |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
77 |
# If some actions are missing, search continues as if this target didn't |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
78 |
# match (i.e. if a file matches the first and second entry and View action |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
79 |
# is missing in the first one, then on pressing F3 the View action from |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
80 |
# the second entry will be used. default should catch all the actions. |
325
667339502172
Remove archive section as version 4.8.x break compatibility for virtual FS
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
81 |
# |
667339502172
Remove archive section as version 4.8.x break compatibility for virtual FS
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
82 |
# Any new entries you develop for you are always welcome if they are |
667339502172
Remove archive section as version 4.8.x break compatibility for virtual FS
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
83 |
# useful on more than one system. You can post your modifications |
667339502172
Remove archive section as version 4.8.x break compatibility for virtual FS
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
324
diff
changeset
|
84 |
# as tickets at www.midnight-commander.org |
269 | 85 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
86 |
################################################################ |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
87 |
# Image. |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
88 |
|
337
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
89 |
shell/.xcf |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
90 |
Open=(gimp %f &) |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
91 |
|
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
92 |
type/^GIF |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
93 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
94 |
type/^JPEG |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
95 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
96 |
type/^PC\ bitmap |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
97 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
98 |
type/^PNG |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
99 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
100 |
type/^TIFF |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
101 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
102 |
type/^PBM |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
103 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
104 |
type/^PGM |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
105 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
106 |
type/^PPM |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
107 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
108 |
type/^Netpbm |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
109 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
110 |
shell/.xbm |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
111 |
Open=bitmap %f |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
112 |
shell/.xpm |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
113 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
114 |
# View=sxpm %f |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
115 |
shell/.ico |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
116 |
Include=image |
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
117 |
|
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
118 |
include/image |
337
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
119 |
Open=see %f & |
331 | 120 |
View=%view{ascii} identify %f |
337
59ef303c8713
Edit images with GIMP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
336
diff
changeset
|
121 |
Edit=gimp %f 2>/dev/null & |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
122 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
123 |
################################################################ |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
124 |
# Audio. |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
125 |
|
334
524bb479d58a
Play most music files with vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
333
diff
changeset
|
126 |
regex/\.([wW][aA][vV]|[sS][nN][dD]|[vV][oO][cC]|[aA][uU]|[sS][mM][pP]|[aA][iI][fF][fF]|[sS][nN][dD])$ |
524bb479d58a
Play most music files with vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
333
diff
changeset
|
127 |
Include=audio |
524bb479d58a
Play most music files with vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
333
diff
changeset
|
128 |
regex/\.([mM][pP]3)$ |
524bb479d58a
Play most music files with vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
333
diff
changeset
|
129 |
Include=audio |
524bb479d58a
Play most music files with vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
333
diff
changeset
|
130 |
|
524bb479d58a
Play most music files with vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
333
diff
changeset
|
131 |
include/audio |
524bb479d58a
Play most music files with vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
333
diff
changeset
|
132 |
Open=vlc %f& |
524bb479d58a
Play most music files with vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
333
diff
changeset
|
133 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
134 |
################################################################ |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
135 |
# Video. |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
136 |
|
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
137 |
regex/\.([wW][mM][vV])$ |
333
14551f8c27ff
As my Debian installation miss some mime association I switch to vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
138 |
Include=video |
332
49a59f56956e
My Debian have no association for video/mp4 mimetype.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
331
diff
changeset
|
139 |
regex/\.([fF][lL][iIcCvV])$ |
333
14551f8c27ff
As my Debian installation miss some mime association I switch to vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
140 |
Include=video |
332
49a59f56956e
My Debian have no association for video/mp4 mimetype.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
331
diff
changeset
|
141 |
regex/\.([mM][pP]4|[mM][pP][eE]?[gG])$ |
333
14551f8c27ff
As my Debian installation miss some mime association I switch to vlc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
332
diff
changeset
|
142 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
143 |
regex/\.([aA][vV][iI])$ |
331 | 144 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
145 |
regex/\.(3[gG][pP])$ |
331 | 146 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
147 |
regex/\.([aA][sS][fFxX])$ |
331 | 148 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
149 |
regex/\.([dD][iI][vV][xX])$ |
331 | 150 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
151 |
regex/\.([mM][kK][vV])$ |
331 | 152 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
153 |
regex/\.([mM][oO][vV]|[qQ][tT])$ |
331 | 154 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
155 |
# MPEG-2 TS container + H.264 codec |
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
156 |
regex/\.([mM][tT][sS])$ |
331 | 157 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
158 |
regex/\.([vV][oO][bB])$ |
331 | 159 |
Include=video |
330
6197aede6474
Remove content that duplicate /etc/mc/mc.ext. I preserve definition for video
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
327
diff
changeset
|
160 |
regex/\.([wW][mM][vV])$ |
331 | 161 |
Include=video |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
162 |
regex/\.([oO][gG][mM])$ |
331 | 163 |
Include=video |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
164 |
|
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
165 |
include/video |
717
fc3234dde467
Use mplayer instead of vlc for video.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
711
diff
changeset
|
166 |
Open=mplayer %f |
fc3234dde467
Use mplayer instead of vlc for video.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
711
diff
changeset
|
167 |
# Open=vlc %f |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
168 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
169 |
################################################################ |
338 | 170 |
# Plain and binary documents. |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
171 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
172 |
# GNU Info page |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
173 |
type/^Info\ text |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
174 |
Open=info -f %f |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
175 |
shell/.info |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
176 |
Open=info -f %f |
335
5522f024a05b
Forbid to display errors from xpdf, xchm, djview, fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
334
diff
changeset
|
177 |
type/^PDF |
640 | 178 |
Open=evince %f 2>/dev/null & |
335
5522f024a05b
Forbid to display errors from xpdf, xchm, djview, fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
334
diff
changeset
|
179 |
shell/.chm |
5522f024a05b
Forbid to display errors from xpdf, xchm, djview, fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
334
diff
changeset
|
180 |
Open=xchm %f 2>/dev/null & |
5522f024a05b
Forbid to display errors from xpdf, xchm, djview, fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
334
diff
changeset
|
181 |
shell/.djvu |
5522f024a05b
Forbid to display errors from xpdf, xchm, djview, fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
334
diff
changeset
|
182 |
Open=djview %f 2>/dev/null & |
274
efb78fb374ee
Open .fb2 and .epub files in MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
269
diff
changeset
|
183 |
shell/.fb2 |
335
5522f024a05b
Forbid to display errors from xpdf, xchm, djview, fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
334
diff
changeset
|
184 |
Open=fbreader %f 2>/dev/null & |
274
efb78fb374ee
Open .fb2 and .epub files in MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
269
diff
changeset
|
185 |
shell/.epub |
335
5522f024a05b
Forbid to display errors from xpdf, xchm, djview, fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
334
diff
changeset
|
186 |
Open=fbreader %f 2>/dev/null & |
548
b22eff3250d7
Open .mobi files by fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
511
diff
changeset
|
187 |
shell/.mobi |
b22eff3250d7
Open .mobi files by fbreader.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
511
diff
changeset
|
188 |
Open=fbreader %f 2>/dev/null & |
338 | 189 |
regex/\.([rR][tT][fF])$ |
460
9aafe9fbcca7
Open RTF file with fbreader as default OpenOffice very slow...
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
454
diff
changeset
|
190 |
Open=fbreader %f 2>/dev/null & |
338 | 191 |
View=%view{ascii} catdoc -w %f |
274
efb78fb374ee
Open .fb2 and .epub files in MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
269
diff
changeset
|
192 |
|
691 | 193 |
regex/\.[sS]?[hH][tT][mM][lL]?$ |
453 | 194 |
Open=see %f 2>/dev/null & |
195 |
||
697
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
196 |
regex/\.[Dd][Oo][Cc][Xx]?$ |
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
197 |
Open=see %f >/dev/null 2>&1 & |
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
198 |
regex/\.[Xx][Ll][Ss][xX]?$ |
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
199 |
Include=my-msword |
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
200 |
shell/.docx$ |
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
201 |
Include=my-msword |
339
87ba9bf5f1dd
Microsoft Office Document.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
338
diff
changeset
|
202 |
regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$ |
697
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
203 |
Include=my-msword |
339
87ba9bf5f1dd
Microsoft Office Document.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
338
diff
changeset
|
204 |
type/^Microsoft\ Word |
697
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
205 |
Include=my-msword |
339
87ba9bf5f1dd
Microsoft Office Document.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
338
diff
changeset
|
206 |
type/^Microsoft\ Office\ Document |
697
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
207 |
Include=my-msword |
897df168fda7
Fix XLS and DOC file handling by MC.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
691
diff
changeset
|
208 |
include/my-msword |
339
87ba9bf5f1dd
Microsoft Office Document.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
338
diff
changeset
|
209 |
Open=see %f >/dev/null 2>&1 & |
87ba9bf5f1dd
Microsoft Office Document.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
338
diff
changeset
|
210 |
View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f |
87ba9bf5f1dd
Microsoft Office Document.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
338
diff
changeset
|
211 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
212 |
################################################################ |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
213 |
# Build rules. |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
214 |
|
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
215 |
# Makefile |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
216 |
regex/[Mm]akefile$ |
331 | 217 |
Open=make -f %f %{Enter parameters} |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
218 |
# Imakefile |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
219 |
shell/Imakefile |
331 | 220 |
Open=xmkmf -a |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
221 |
# Makefile.PL (MakeMaker) |
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
222 |
regex/^Makefile.(PL|pl)$ |
331 | 223 |
Open=%var{PERL:perl} %f |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
224 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
225 |
################################################################ |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
226 |
# Open in Emacs. |
297
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
227 |
|
614
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
228 |
regex/\.(c|C|cc|cpp|cxx)$ |
297
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
229 |
Open=e %f |
331 | 230 |
# Open=sensible-editor %f |
614
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
231 |
#Open=%var{EDITOR:vi} %f |
549
ae515e9c1ef0
Fix regex pattern: missing tail '$'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
548
diff
changeset
|
232 |
regex/\.(h|hpp)$ |
297
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
233 |
Open=e %f |
549
ae515e9c1ef0
Fix regex pattern: missing tail '$'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
548
diff
changeset
|
234 |
regex/\.(s|S)$ |
297
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
235 |
Open=e %f |
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
236 |
shell/.java |
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
237 |
Open=e %f |
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
238 |
shell/.f |
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
239 |
Open=e %f |
614
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
240 |
shell/.py |
331 | 241 |
Open=e %f |
614
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
242 |
shell/.lisp |
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
243 |
Open=e %f |
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
244 |
shell/.el |
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
245 |
Open=e %f |
549
ae515e9c1ef0
Fix regex pattern: missing tail '$'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
548
diff
changeset
|
246 |
regex/\.(sh|bash|tcsh)$ |
303
d05577057b67
Fix action for .sh files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
302
diff
changeset
|
247 |
Edit=e %f |
614
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
248 |
regex/\.[Tt][Ee][Xx]$ |
3e5939c04130
Register lisp files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
549
diff
changeset
|
249 |
Open=e %f |
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
250 |
regex/\.(te?xi|texinfo)$ |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
251 |
Open=e %f |
297
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
252 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
253 |
################################################################ |
297
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
254 |
# Object files. |
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
255 |
|
549
ae515e9c1ef0
Fix regex pattern: missing tail '$'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
548
diff
changeset
|
256 |
regex/\.(o|obj)$ |
331 | 257 |
View=%view{ascii} file %f && nm %f |
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
258 |
regex/\.(so|so\.[0-9\.]*)$ |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
259 |
View=%view{ascii} file %f && nm -C -D %f |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
260 |
type/^ELF |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
261 |
View=%view{ascii} file %f && nm -C %f |
297
94be7bf3d9a3
Open source files in Emacs.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
296
diff
changeset
|
262 |
shell/.class |
724
0340a7e6a5b3
With -v javap print class version.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
717
diff
changeset
|
263 |
View=%view{ascii} tmp=%p; javap -v -p -c ${tmp%%.class} |
3
a1e69064ee0b
Added some linux conf files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
264 |
|
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
265 |
################################################################ |
487
6dae75d0d5ff
Wine. Windows executable.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
460
diff
changeset
|
266 |
# Wine. Windows executable. |
6dae75d0d5ff
Wine. Windows executable.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
460
diff
changeset
|
267 |
|
6dae75d0d5ff
Wine. Windows executable.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
460
diff
changeset
|
268 |
regex/\.[eE][xX][eE]$ |
6dae75d0d5ff
Wine. Windows executable.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
460
diff
changeset
|
269 |
Open=wine %f & |
489
7bd81501b248
How all headers for .exe and all info for .dll
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
487
diff
changeset
|
270 |
View=%view{ascii} i586-mingw32msvc-objdump -fx %f || i686-w64-mingw32-objdump -fx %f |
490
eb6cd35851b2
Add support for .msi files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
489
diff
changeset
|
271 |
regex/\.[mM][sS][iI]$ |
eb6cd35851b2
Add support for .msi files.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
489
diff
changeset
|
272 |
Open=msiexec /i %f & |
489
7bd81501b248
How all headers for .exe and all info for .dll
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
487
diff
changeset
|
273 |
|
7bd81501b248
How all headers for .exe and all info for .dll
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
487
diff
changeset
|
274 |
regex/\.[dD][lL][lL]$ |
7bd81501b248
How all headers for .exe and all info for .dll
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
487
diff
changeset
|
275 |
View=%view{ascii} i586-mingw32msvc-objdump -tTrR -fx %f || i686-w64-mingw32-objdump -tTrR -fx %f |
487
6dae75d0d5ff
Wine. Windows executable.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
460
diff
changeset
|
276 |
|
6dae75d0d5ff
Wine. Windows executable.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
460
diff
changeset
|
277 |
################################################################ |
454
0999a1f85875
Add Nindendo 64 file type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
453
diff
changeset
|
278 |
# Game/console ROMs. |
444 | 279 |
|
280 |
shell/.nes |
|
281 |
Include=nesgame |
|
282 |
type/^iNES ROM dump |
|
283 |
Include=nesgame |
|
284 |
include/nesgame |
|
710
c888b7da227f
Prevent screen pollution with error output.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
709
diff
changeset
|
285 |
Open=nes %f 2>/dev/null 1>/dev/null & |
444 | 286 |
View=%view{ascii} file %f |
287 |
||
288 |
shell/.smc |
|
289 |
Include=snesgame |
|
445
6a6aab539bc2
Add bindings for SNES.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
444
diff
changeset
|
290 |
shell/.sfc |
6a6aab539bc2
Add bindings for SNES.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
444
diff
changeset
|
291 |
Include=snesgame |
6a6aab539bc2
Add bindings for SNES.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
444
diff
changeset
|
292 |
shell/.swc |
6a6aab539bc2
Add bindings for SNES.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
444
diff
changeset
|
293 |
Include=snesgame |
6a6aab539bc2
Add bindings for SNES.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
444
diff
changeset
|
294 |
shell/.mgd |
6a6aab539bc2
Add bindings for SNES.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
444
diff
changeset
|
295 |
Include=snesgame |
6a6aab539bc2
Add bindings for SNES.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
444
diff
changeset
|
296 |
shell/.mgh |
6a6aab539bc2
Add bindings for SNES.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
444
diff
changeset
|
297 |
Include=snesgame |
444 | 298 |
include/snesgame |
711
ab5ff3f42f03
Open SNES with mednafen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
710
diff
changeset
|
299 |
Open=mednafen %f 2>/dev/null 1>/dev/null & |
ab5ff3f42f03
Open SNES with mednafen.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
710
diff
changeset
|
300 |
# Open=zsnes -v 8 %f & |
444 | 301 |
View=%view{ascii} file %f |
302 |
||
452
f5363ac2e581
Sega MegaDrive/Genesis raw ROM dump
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
445
diff
changeset
|
303 |
type/^Sega MegaDrive/Genesis raw ROM dump |
f5363ac2e581
Sega MegaDrive/Genesis raw ROM dump
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
445
diff
changeset
|
304 |
Include=segagame |
f5363ac2e581
Sega MegaDrive/Genesis raw ROM dump
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
445
diff
changeset
|
305 |
include/segagame |
710
c888b7da227f
Prevent screen pollution with error output.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
709
diff
changeset
|
306 |
Open=mednafen %f 2>/dev/null 1>/dev/null & |
452
f5363ac2e581
Sega MegaDrive/Genesis raw ROM dump
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
445
diff
changeset
|
307 |
View=%view{ascii} file %f |
f5363ac2e581
Sega MegaDrive/Genesis raw ROM dump
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
445
diff
changeset
|
308 |
|
454
0999a1f85875
Add Nindendo 64 file type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
453
diff
changeset
|
309 |
shell/.n64 |
0999a1f85875
Add Nindendo 64 file type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
453
diff
changeset
|
310 |
Include=n64game |
0999a1f85875
Add Nindendo 64 file type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
453
diff
changeset
|
311 |
include/n64game |
0999a1f85875
Add Nindendo 64 file type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
453
diff
changeset
|
312 |
Open=mupen64plus --windowed --resolution 800x600 --emumode 2 %f & |
0999a1f85875
Add Nindendo 64 file type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
453
diff
changeset
|
313 |
View=%view{ascii} echo I am thinks that %f is a Nindendo 64 rom... |
0999a1f85875
Add Nindendo 64 file type.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
453
diff
changeset
|
314 |
|
444 | 315 |
################################################################ |
336
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
316 |
# Misc, tutorial, help rules. |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
317 |
|
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
318 |
shell/.my |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
319 |
Open=tmp=%f; echo ${tmp%.my} %f %{Enter opt:} %{Enter file:} |
7f323891e62f
Reorder and add sections.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
335
diff
changeset
|
320 |