Seeing spaces and tabs in vim

From Notes_Wiki
Revision as of 05:05, 4 January 2023 by Saurabh (talk | contribs) (Created page with "Home > Rocky Linux or CentOS > Rocky Linux 8.x > Text Editors > vim > Seeing spaces and tabs in vim Normally we cannot differentiate between spaces and tabs in vim. However, if visualzing the difference between space and tab is important, we can use following: <pre> :set lcs=space:_,tab:>~ list </pre> Refer: * https://stackoverflow.com/questions/61221579/how-to-view-tabs-spaces-and-various-tab-rel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Rocky Linux or CentOS > Rocky Linux 8.x > Text Editors > vim > Seeing spaces and tabs in vim

Normally we cannot differentiate between spaces and tabs in vim. However, if visualzing the difference between space and tab is important, we can use following:

:set lcs=space:_,tab:>~ list

Refer:


Home > Rocky Linux or CentOS > Rocky Linux 8.x > Text Editors > vim > Seeing spaces and tabs in vim