Skip to content

Instantly share code, notes, and snippets.

@snare
Last active September 5, 2016 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snare/07a7512c20247799afc4b962fec1bf14 to your computer and use it in GitHub Desktop.
Save snare/07a7512c20247799afc4b962fec1bf14 to your computer and use it in GitHub Desktop.
To try out the Voltron disassembly view syntax highlighting:
$ pip install pygments-style-solarized
Check out ToT Voltron and reinstall it:
$ cd voltron
$ git pull
$ sudo python setup.py install
(or --user or develop or however you want)
You need to reinstall it because it creates some new pygments lexer entry points.
Edit ~/.voltron/config and add this:
view:
all_views:
format:
pygments_style: solarizeddark
pygments_formatter: terminal256
$ voltron v d
and you should get some PRETTY COLOURS
Once you've done this you can try out other colour schemes easily by passing them at the command line like this:
$ voltron -o view.all_views.format.pygments_style=monokai v d
The style you pass there (or put in config, e.g. `monokai`) can be any of the styles listed by:
$ pygmentize -L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment