Wednesday, 12 June 2013

Toggle line numbers on vim

For the series "I Can Survive Without Knowing This", how to toggle line numbers on vim:

:se nu!

You can enable automatically line numbers in your vimrc by adding 'se nu', or to make it a little more readable, 'set number'.

No comments:

Post a Comment