Configuring vim
and gvim
For full whitespace, character set, syntax highlighting and indent settings for
all of Gentoo's file-types in vim
and gvim
, emerge the
app-vim/gentoo-syntax
package.
Full documentation is provided with the package, and can be viewed
by using vim
's internal help browser (:help gentoo-syntax
).
When fixing ebuilds with broken whitespace, the :retab!
command may be
of interest. The ! is required to replace spaces with tabs.