Kai Weber wrote:

where can I find an overview of the $HOME/.vim directory hierarchie? I
have not found an overview, seems I have to read all the vim
documentation for ":help ftplugin", ":help initialization" and so on.

<snip>

Hello!

I have the following help file which I use; see attached.

Place it in:   .vim/doc
Bring up vim, type:   :helptags ~/.vim/doc

(adjust path as needed)

Regards,
Chip Campbell

*dotvim.txt*    The .vim Directory Structure            Feb 20, 2007
                        *.vim-after*    *.vim-ftplugin* *.vim-plugin*
                        *.vim-doc*      *.vim-indent*   *.vim-syntax*
Copyright: (c) 2004-2007 by Charles E. Campbell, Jr.    *dotvim-copyright*
           The VIM LICENSE applies to dotvim.vim and dotvim.txt
           (see |copyright|) except use "dotvim" instead of "Vim"
           No warranty, express or implied.  Use At-Your-Own-Risk.

==============================================================================
1. The <.vim/> directory tree                           *.vim* *vimfiles*
   (see also |'runtimepath'|)

   The user's local plugins and whatnot are stored under:
>
        .vim/             Unix
        vimfiles/         PC,Mac
<
  filetype.vim    |new-filetype|
                  new filetypes triggered by filename

  menu.vim        |menu.vim|
                  gui menus

  scripts.vim     |new-filetype-scripts|
                  new filetypes triggered by file contents

  after/compiler/ |write-compiler-plugin|
                  overrule a compiler plugin

  after/filetype.vim |43.2|
                  overrule filetype

  after/ftplugin  |ftplugin-overrule|
                  overrule filetype settings after loading the global plugin

  after/plugin
                  user-specified additions to pre-existing plugins

  after/syntax/   |mysyntaxfile-add|
                  user-specified additions to pre-existing syntax highlighting
                  ex. after/syntax/c.vim

  autoload/       |autoload|
                  Starting with vim 7.0, scripts can be broken into an
                  always-loaded portion in .vim/plugin and a loaded on
                  demand portion in .vim/autoload.

  colors/         |:colorscheme|
                  holds colorscheme files

  compiler/       |:compiler|
                  holds compiler files

  doc/            |write-local-help|  |add-local-help|
                  put in your own help files such as this one

  ftdetect/       |new-filetype| |plugin-filetype|
                  Filetype detection scripts.  Note that:
>
                    set filetype=foo   overrules
                    setf foo           sets filetype only when not set yet
<
  ftplugin/       |write-filetype-plugin|
                  filetype-based plugins (ex. ftplugin/tex/tex.vim)

  indent/         |filetype-indent-on| |indent-expression|
                  user-specified indenting associated with <syntaxfile>.vim

  keymap/         |mbyte-keymap|
                  specify keymap files (multibyte related)

  lang/           |:menutrans|
                  menu and messages translations

  plugin/         |write-plugin| |filetype-plugins| |plugin-special|
                  files herein will be loaded automatically at every
                  invocation of vim

  syntax/         |mysyntaxfile| |new-filetype|
                  new user-specified <syntaxfile>.vim files

  spell/          |spell-load|
                  holds dictionaries of words for spell checking

  systags         |ft-c-omni|
                  May be used to help complete system functions

  tutor/          |tutor|
                  files for vimtutor
                  .vim/after

---------------------------------------------------------------------
vim:ts=8:tw=78:ft=help

Reply via email to