-
-
Save BenGitsCode/1ed58b7c133019afc5a0979db6335c50 to your computer and use it in GitHub Desktop.
show/hide hidden characters in Vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" show hidden characters in Vim | |
:set list | |
" settings for hidden chars | |
" what particular chars they are displayed with | |
:set lcs=tab:▒░,trail:▓ | |
" or | |
:set listchars=tab:▒░,trail:▓ | |
" used \u2592\u2591 for tab and \u2593 for trailing spaces in line. | |
" In Vim help they suggest using ">-" for tab and "-" for trail. | |
" hide hidden chars | |
:set nolist | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment