Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Syntax highlighting in Midnight Commander viewer

I would like to mc viewer (mcview, run by F3 key) highlights my C++ code. Is it possible?

For editing (mcedit, F4 key) I am using vim with its own syntax highlighting. For viewing, I can't find such option. There is

editor_syntax_highlighting=1

Which can be changed in ~/.mc/ini or ~/.config/mc/ini but it's obviously related with built-in mcedit, not the viewer. Is there something like viewer_syntax_highlighting=1 or any other way how to highlight syntax in viewer?

like image 898
Michal Špondr Avatar asked May 16 '17 07:05

Michal Špondr


1 Answers

Viewer doesn't do syntax highlighting, only Editor does.

like image 185
phd Avatar answered Sep 27 '22 19:09

phd