vim syntax highlighting, line numbers

vim syntax highlighting

:set filetype=html

or

:setf python

or

:set syntax=python

:show line

:set number

:set nonumber

” `:set list` will show all whitespaces as a character. Everything but a space will look different than its normal state, which means that if you still see a plain old space, it’s really a plain old space”

Ether@http://stackoverflow.com/questions/1675688/make-vim-show-all-white-spaces-as-a-character

Leave a Reply

You must be logged in to post a comment.