Syntax highlight of plumed.dat files in Midnight Commander
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
syntax
README.md
plumed.dat
screenshot.png

README.md

mc_syntax_for_Plumed

Syntax highlight of plumed.dat files in Midnight Commander

screenshot

Instalation

Copy (as a root) syntax/dat.syntax to /usr/share/mc/syntax/ and add lines:

file ..\*\\.(dat)$ Plumed\sCommands
include dat.syntax

to /usr/share/mc/syntax/Syntax above lines

file .\* unknown
include unknown.syntax

Alternatively (if you don't have root access) copy syntax/dat.syntax to ~/.local/share/mc/ or ~/.config/mc/mcedit/ and add lines:

file ..\*\\.(dat)$ Plumed\sCommands
include /home/your_login/.local/share/mc/dat.syntax

or

file ..\*\\.(dat)$ Plumed\sCommands
include /home/your_login/.config/mc/mcedit/dat.syntax

to ~/.local/share/mc/Syntax or ~/.config/mc/mcedit/Syntax above lines

file .\* unknown
include unknown.syntax