Rui Gonçalves wrote:
if you put the '~/.vim' directory in the runtime path (set
runtimepath=~/.vim,...) probably you can put the file in this
directory.

i think you also can put the files in the directory where vim is
installed (for example '/usr/share/vim/vim70').

*DON'T.* Any upgrade may (and the upgrade to Vim 7.1 or Vim 8 will) silently overwrite any changes you made in $VIMRUNTIME or its subfolders.


regards
Rui Gonçalves


Use one of the directories listed *before* $VIMRUNTIME in the 'runtimepath' option. Typical values include:

$VIM/vimfiles (e.g. /usr/local/share/vim/vimfiles or "C:\Program Files\Vim\vimfiles"): for system-wide scripts.

$HOME/.vim or $HOME/vimfiles (e.g. /home/johndoe/.vim or "C:\Documents and Settings\John Doe\vimfiles"): for single-user scripts.

Use ":set runtimepath?" (without the quotes) to see what 'runtimepath' is set to on your system.


Best regards,
Tony.

Reply via email to