Last active
September 5, 2016 08:26
-
-
Save snare/07a7512c20247799afc4b962fec1bf14 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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