VI: Display tabs and end of lines

By Eric Downing. Filed in Editors  |  
TOP del.icio.us digg

I was working on a system the other day and needed to see where the end of lines were and where there were tabs instead of spaces. And I found the list option to vi.

This will turn on the display of “$” to indicate the end of line and “^I” to indicate a tab.

:set list

This will turn off the option to display the end of line and tabs.

:set nolist

Tags: ,

Leave a Reply