Created
August 18, 2013 09:36
-
-
Save aniversarioperu/6260772 to your computer and use it in GitHub Desktop.
add line numbers to text in Vim
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
# Taken from http://stackoverflow.com/questions/252766/add-line-numbers-in-vim | |
:%s/^/\=line('.')/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment