I have downloaded the snippet plugin from http://www.vim.org/scripts/script.php?script_id=361 and have done all the steps described there to install it but, unfortunately, it does not work.
My first thought was that a plugin should be somehow loaded into Vim but Vim documentation says that "Vim's functionality can be extended by adding plugins. A plugin is nothing more than a Vim script file that is loaded automatically when Vim starts. You can add a plugin very easily by dropping it in your plugin directory. {not available when Vim was compiled without the +eval feature}" So, it seems that no load command is needed. I am going to post the question about it in vim mailing list but I guess that the first question to me will be: "Was your vim compiled with the +eval feature?" I guess that the answer is "yes" but do not know it for sure. To find out this I have tried $ equery uses vim but it gives no exact answer to the question above (though it seems that the answer is "yes", I guess it from the fact that the minimal use flag is disabled). Here is the output from this command: * Found these USE flags for app-editors/vim-7.4.273: U I + + X : Link console vim against X11 libraries to enable title and clipboard features in xterm + + acl : Add support for Access Control Lists - - cscope : Enable cscope interface -- in vim for example - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml + + gpm : Add support for sys-libs/gpm (Console-based mouse driver) - - lua : Enable Lua scripting support - - luajit : Use dev-lang/luajit instead of dev-lang/lua - - minimal : Install a very minimal build (disables, for example, plugins, fonts, most drivers, non-critical features) + + nls : Add Native Language Support (using gettext - GNU locale utilities) - - perl : Add optional support/bindings for the Perl language - - python : Add optional support/bindings for the Python language + + python_single_target_python2_7 : Build for Python 2.7 only - - python_single_target_python3_3 : Build for Python 3.3 only + + python_targets_python2_7 : Build with Python 2.7 + + python_targets_python3_3 : Build with Python 3.3 - - racket : Enable support for Scheme using dev-lang/racket - - ruby : Add support/bindings for the Ruby language - - tcl : Add support the Tcl language - - vim-pager : Install vimpager and vimmanpager links More generally, I would also ask if there is something specific in Gentoo Vim setup that could prevent a Vim plugin from executing? P.S. I have also tried to load all the plugins by :runtime! plugin/**/*.vim command as described in Vim documentation but it says: Error detected while processing ~/.vim/plugin/snippet.vim: line 28: E15: Invalid expression: exists("loaded_snippets") line 231: E171: missing :endif