On 2012-11-06, analogsix wrote:
> At any rate, learning on VIM has led me down the rabbit hole of
> reading the majority of Arnold Robbins' Learning Vi and VIM
> (haven't yet finished scripting and the programming stuff... altho
> its not very succinctly written), reading different sections of
> the VimUserManual and Reference, as well as exploring the
> directory structure of /usr/share/vim/vim70/ directories as well
> as file contents therein.
Vim 7.0 may work very well for you and it may be best to stick with
what everyone else at your workplace is using. I should mention,
though, that the current version of Vim is 7.3.712, so you _may_ be
seeing problems that have been fixed since your version was
released.
> Hence I created my own ~/.vim directory and mkdired the following
> sub-directories: syntax/, plugin/, filetype/ (they're all empty
> except syntax/).
~/.vim/filetype is not a standard Vim directory. You probably want
~/.vim/ftplugin instead.
> But I'm still figuring out VIM's execution sequence of RC files.
> I know it reads a bunch of stuff in the /usr/share/.. directory
> but I've been led to believe it LASTLY checks out your $HOME
> directory for a .vimrc file and somewhere I read someone put their
> .vimrc in a ~/.vim/ directory. At the very last it checks out
> .vimrc files in your CURRENT directory, which I'm not having
> anything to do with now.
Which vimrc files Vim looks for at startup and in what order is
explained here:
:help vimrc
and the whole startup process here:
:help startup
> I'm trying to master how to set up my directory $HOME structure
> with respect to VIM. What files go where? On skimming through
> Gary's response, I see he mentions a bit of that.
I didn't find documentation of Vim's standard directory structure,
but you can see an example in $VIMRUNTIME, for example by executing
:!ls $VIMRUNTIME
Regards,
Gary
--
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
Tuesday, November 6, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment