Chashitsu

Vim - show whitespace characters

Nov 5th, 2018
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.34 KB | None | 0 0
  1. set list
  2. set listchars=tab:>-
  3. #If you put these two lines in your .vimrc, tabs will be shown as > for the start position and - through the rest of #the tab.
  4.  
  5. #(Sidenote: listchars can also show trailing spaces with trail:x (replace x with the character you want to use for a #trailing space), which can be useful as well.)
  6. set listchars=trail:.
Add Comment
Please, Sign In to add comment