How do I do I set the syntax highlighting in Vim 7 for python?
I would like to set my own colorschemes, and syntax highlighting for a type of code file.
How do I do I set the syntax highlighting in Vim 7 for python? I would like to set my own colorschemes, and syntax highlighting for a type of code file. |
||||
|
The command to enable syntax highlighting in vim is |
|||||||||||||||||||||
|
Put the line |
|||
|
Syntax highlighting in vim for python (target is Ubuntu 12.10)Here is a walkthrough on how to setup syntax highlighting in Python for Ubuntu 12.10. What you see is what you get: https://github.com/sentientmachine/Pretty-Vim-Python/ Once you get the hang of how to inject a color scheme and syntax highlighting into your vi editor for a particular user, then you can customize it There are hundreds of fashionable color schemes here: http://sweyla.com/themes/seed/988775/ Pick one that you like. Then download the Page listing most useful and fashionable python Color schemes: http://stackoverflow.com/a/11060884/445131 Then you could try programming in VimL script language yourself. Learn to edit the code that causes vim syntax highlighting to work. Make it better than it ever was. http://en.wikibooks.org/wiki/Learning_the_vi_Editor/Vim/VimL_Script_language |
||||
|