View newline and tab chars in Linux text editor

neelsg picture neelsg · Feb 4, 2013 · Viewed 10.8k times · Source

In Notepad++, you can go to View > Show Symbol > Show All Characters and see where the newline and tabs chars are. This is useful, because it allows you to easily identify where an indent is made with spaces instead of tabs (Very important in Python) or just to see where there are trailing spaces etc. on a line (Just keeping things neat).

I would like to use the same functionality in Linux, but gedit does not seem to have it. Is there a different editor that has this, am I not seeing the feature or is it not available?

Answer

Satya picture Satya · Feb 4, 2013

try vi <filename> and then in command mode type :set list