Difference between revisions of "Seeing spaces and tabs in vim"

From Notes_Wiki
(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...")
 
m
 
Line 9: Line 9:
* https://stackoverflow.com/questions/61221579/how-to-view-tabs-spaces-and-various-tab-related-settings-in-vim
* https://stackoverflow.com/questions/61221579/how-to-view-tabs-spaces-and-various-tab-related-settings-in-vim


'''There is older article on this at [[Seeing whitespaces in vim]]'''




[[Main Page|Home]] > [[Rocky Linux or CentOS]] > [[Rocky Linux 8.x]] > [[Rocky 8.x Text Editors|Text Editors]] > [[Rocky 8.x vim|vim]] > [[Seeing spaces and tabs in vim]]
[[Main Page|Home]] > [[Rocky Linux or CentOS]] > [[Rocky Linux 8.x]] > [[Rocky 8.x Text Editors|Text Editors]] > [[Rocky 8.x vim|vim]] > [[Seeing spaces and tabs in vim]]

Latest revision as of 05:08, 4 January 2023

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:


There is older article on this at Seeing whitespaces in vim


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