How to install VIM with all parameters / functions? - VIM

I have VIM on Mac and CentOS . So, I see that people write about -xterm_clipboard , -lua , ... Is there an easy way to install all this? or should we include options one at a time and compile / recompile it?

+4
source share
1 answer

If you want to install a precompiled package, find the package name, for example vim-full, vim-huge or something like that.

If you want to compile yourself, you can pass --with-features=hugeto configure script. However, note that this does not allow you to use different language bindings, since they are mostly optional, and you also need to use certain GUIs, because you can only have one gui.

Therefore, you need to pass an argument --enable-<lang>interpfor each desired language (for example, --enable-luainterp --enable-pythoninterp) and --enable-gui=<gui>for example. ( --enable-gui=gnomefor Gnome Gui).

This should cover the most important compilation options. There may still be a -flagsconclusion :version, but they are usually not very important and must be activated specifically. Read the configure call help ./configure --helpto see all available options.

+5
source

Source: https://habr.com/ru/post/1607247/


All Articles