What is a vim "runtime directory"?

Assuming that you're using some flavor of Unix, your personal runtime directory is ~/.vim. This is where you should put any plugin used only by you. If you want other users to be able to access the plugin, put it in the second directory of the 'runtimepath' option, which is usually $VIM/vimfiles. You should not install any plugins into the $VIMRUNTIME directory. That directory is intended for plugins distributed with Vim. If you put other plugins in that directory, or modify files in that directory, you will likely lose those changes when you update your Vim installation.

See

:help 'rtp'
:help $VIMRUNTIME

for more about this.


There are actually multiple “runtime directories”. Use :set runtimepath? inside Vim to see the directories involved.

Any of them should work, but probably the easiest place to use would be the per-user directory ~/.vim/, which should be first in your Vim's runtimepath.

mkdir ~/.vim; (cd ~/.vim && unzip /path/to/vim-fuzzyfinder.zip)

If you want to install it for all users on the system, then try one of the later directories in the list (one of which is the version specific value that is also in Vim's $VIMRUNTIME variable).


Enter :!echo $VIMRUNTIME inside vim to find out.

Tags:

Vim

Gvim