How do I determine the Vim features which are enabled at compile

time? You can use the “:version” command to determine the Vim features that are enabled at compile time. The features that are enabled will be prefixed with a “+”. The features that are not enabled will be prefixed with a “-“. If you want to test for a feature in a script, you can use the has() function:

    if has("menu")

        " Set up some menus

    endif

Comments (1)


Pepsh Pepshinsky

Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE


Speak Your Mind