Hi,

I am running into a problem when trying to use vim's built-in package 
management system: since vim doesn't look for and run the plugins until 
after the .vimrc is executed, where am I supposed to put my configuration 
code that depends upon the functionality defined in my plugins?

For instance, the vim-operator-user plugin (
https://github.com/kana/vim-operator-user/ 
<https://github.com/kana/vim-operator-user/blob/master/doc/operator-user.txt>) 
defines a function "operator#user#define()". If I try to call the function 
in my .vimrc, vim will, at start-up, generate an error telling me that the 
function doesn't exist. However, I know that I have installed the plug-in 
properly because, if I re-run my .vimrc immediately after start-up (using 
the ":source" command), vim will find the function, call it, and not 
generate any errors. So, where am I supposed to put my code that calls 
"operator#user#define()"?

- Aaron

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/88a53227-bb3a-43f1-8ac2-ffe05616dbcd%40googlegroups.com.

Reply via email to