I have VIM on Mac & CentOS. So, I see people are writing about -xterm_clipboard, -lua, ... Is there an simple way to install it all? or we have to enable options one-by-one and compile/recompile it?
Starting with Vim version 8, you can install plugins without the need for a package manager by using the default package management tool. You can place Vim plugins in the ~/. vim/pack/vendor/start/plugin_name directory. Note that the plugin_name folder name will vary from plugin to plugin.
Installing a . vim File. By default, Vim expects us to place our config and plugins in the ~/. vim directory.
If you want to install a pre-compiled package, look for a package name like vim-full, vim-huge or something similar.
If you want to compile youself you can pass the --with-features=huge
to the configure script. Note, however, this does not enable the different language bindings because those are mostly optional and also the various GUIs need to enabled specifically, because you can have only one gui.
Therefore, you need to pass the --enable-<lang>interp
argument for each language you want (e.g. --enable-luainterp --enable-pythoninterp
) and the --enable-gui=<gui>
e.g. (--enable-gui=gnome
for the Gnome Gui).
This should cover the most important compile options. There might still some -flags
in the :version
output, but those should be generally not really important and would need to be enabled specifically. Read the help of the configure call ./configure --help
to see all options available.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With