[Vim] Show tabs and line endings with :set list

Created on November 30, 2026

In Vim, :set list shows usually hidden characters such as tabs and line endings. With a file open, press Esc, type the command, and press Enter.

:set list

Tabs commonly appear as ^I and line endings as $. The markers depend on your listchars setting. For example, you can use :set listchars=tab:>-,eol:$ to display tabs as > followed by dashes and line endings as $.

To hide the markers again, use this command.

:set nolist
Vim