When I use vim on my own computer all text is the same color even when I use a python file -


how fix this? dont know how access settings or if did how change them. sorry stupid question driving me crazy.

thanks!

open .vimrc file, , add line:

:syntax on 

if don't know .vimrc file located, can type in command line:

vim --version 

you should have like:

   system vimrc file: "/etc/vimrc"      user vimrc file: "$home/.vimrc"       user exrc file: "$home/.exrc"   fall-back $vim: "/usr/share/vim" 

which tells location of .vimrc file.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -