Using highlight with ranger

To enable syntax highlighting within the ranger file manager, issue this command:

ranger –copy-config=scope.

Ranger will then invoke highlight for displaying text files. You might alter your scope.sh to change –out-format=ansi to –out-format=xterm256 and add a style option to customize the outputted colors.

en/using_highlight_with_ranger.txt · Last modified: 2016/05/27 11:52 by saalen
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0