Whitespace-mode

From WikEmacs
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
whitespace
Description visualizes white spaces in the buffer
Author Vinicius Jose Latorre <viniciusjl@ig.com.br>
Maintainer FSF
Source http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/whitespace.el
Part of Emacs yes

whitespace-mode is a minor mode to visualize blanks (tabs, spaces, newline, etc).

Basic setup

Whitespace-mode is already bundled with Emacs.

Use M-x whitespace-mode to activate it on the current buffer, or add the following in your Emacs configuration file:

(whitespace-mode 1)


You may also use M-x global-whitespace-mode to activate this mode globally for all buffers. The same effect is achieved by adding the following in your Emacs configuration file:

(global-whitespace-mode 1)