.config/mc/mc.ext
changeset 751 eddc767cd962
parent 740 fe01d9a0eb14
child 752 d688ce6aa4dd
equal deleted inserted replaced
750:58e68b82bf46 751:eddc767cd962
   223     Open=%var{PERL:perl} %f
   223     Open=%var{PERL:perl} %f
   224 
   224 
   225 ################################################################
   225 ################################################################
   226 # Open in Emacs.
   226 # Open in Emacs.
   227 
   227 
   228 regex/\.(c|C|cc|cpp|cxx)$
   228 regex/\.([cC][cC]?|[cC][pP][pP]|[cC][xX][xX])$
   229     Open=e %f
   229     Open=e %f
   230     # Open=sensible-editor %f
   230     # Open=sensible-editor %f
   231     #Open=%var{EDITOR:vi} %f
   231     #Open=%var{EDITOR:vi} %f
   232 regex/\.(h|hpp)$
   232 regex/\.([hH]|[hH][pP][pP])$
   233     Open=e %f
   233     Open=e %f
   234 regex/\.(s|S)$
   234 regex/\.(s|S|[aA][sS][mM])$
   235     Open=e %f
   235     Open=e %f
   236 shell/.java
   236 shell/.java
   237     Open=e %f
   237     Open=e %f
   238 shell/.f
   238 shell/.f
   239     Open=e %f
   239     Open=e %f
   240 shell/.py
   240 shell/.py
   241     Open=e %f
   241     Open=e %f
   242 shell/.lisp
   242 shell/.[lL][iI][sS][pP]
   243     Open=e %f
   243     Open=e %f
   244 shell/.el
   244 shell/.el
   245     Open=e %f
   245     Open=e %f
   246 regex/\.(sh|bash|tcsh)$
   246 regex/\.(sh|bash|tcsh)$
   247     Edit=e %f
   247     Edit=e %f