sponsor Vim development Vim logo Vim Book Ad

ShowWhiteSpace : Display WhiteSpace

 script karma  Rating 1/1, Downloaded by 1519  Comments, bugs, improvements  Vim wiki

created by
Christian Brabandt
 
script type
ftplugin
 
description
This script is influenced by a question on stackoverflow on how to display space characters in a window. By default it uses the ยท character for a space.

Use the :ShowWhiteToggle command to toggle display of spaces in the current window. Alternatively you can use the normal mode mapping '\ws'
 
install details
simply source the file and the plugin will be installed automatically
:e show-whitespace-<nr>.vmb
:so %

And afterwards, have a look at the documentation: :h ShowWhitespace.txt

Alternatively, use the plugin manager of your choice.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
show-whitespace-0.2.vmb 2 2015-04-21 7.4 Christian Brabandt - Make sure highlighting group exists (issue https://github.com/chrisbra/vim-show-whitespace/issues/1, reported by feroxium, thanks!)
- Link Conceal highlighting to Normal group
- Support Vim 7.4.711 (includes a native fix for whitespace highlighting using the 'listchars' option)
(automatically uploaded)
show-whitespace.vmb 0.1 2014-10-26 7.3 Christian Brabandt Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github