Odi's astoundingly incomplete notes
New entries | CodeGentoo vim USE flags
On Gentoo your favourite text editor vim accepts a couple of USE flags:
So make sure to have the following line in
~ $ equery u vim [ Searching for packages matching vim... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for app-editors/vim-7.2.182 ] U I - - acl : Adds support for Access Control Lists + + bash-completion : Enable bash-completion support - - cscope : Enables cscope interface -- in vim for example - - gpm : Adds support for sys-libs/gpm (Console-based mouse driver ) - - minimal : Install a very minimal build (disables, for example, plug ins, fonts, most drivers, non-critical features) + + nls : Adds Native Language Support (using gettext - GNU locale utilities) - - perl : Adds support/bindings for the Perl language - - python : Adds support/bindings for the Python language - - ruby : Adds support/bindings for the Ruby language - - vim-pager : Install vimpager and vimmanpager links - - vim-with-x : Link console vim against X11 libraries to enable title an d clipboard features in xtermNote the optional dependencies on X, perl, python and ruby. It is wise to explicitly disable these. Why? If one of the linked libraries break you will no longer be able to start vim. And that may be very annoying when you only have a console and doing system adminitration tasks.
So make sure to have the following line in
/etc/portage/package.use:
app-editors/vim -perl -python -ruby
Add comment