Thanks in advance,
Rui Maciel
For example:
http://www.vim.org/scripts/script.php?script_id=441
m.
--
LaTeX + Vim = http://vim-latex.sourceforge.net/
Vim Universal Templates: http://vim.sf.net/script.php?script_id=1078
CLEWN - http://clewn.sf.net
> Is it possible to set up some sort of config file inside a directory
> so that, when vim is ran in it, it picks up the config file and
> imports all sort of options, from key maps to macros, specific to that
> directory?
hmm, put a line in your vimrc:
autocmd BufEnter,BufNew /path/to/dir/* source /path/to/dir/mystuff.vim
--
flori
Vim-Hilfe auf Deutsch http://www.florianrehnisch.de/vimhelp/
Or more simply, set 'exrc' and create a '.vimrc' in the desired
directory.
--
James Michael Fultz <xy...@sent.as.invalid>
Remove this part when replying ^^^^^^^^
If the 'exrc' option is set, vim will load the .vimrc (Unix) or _vimrc
(Windows) file in the current directory after it loads the system and
user vimrc files. See
:help startup
If you want the directory-specific config file to be loaded instead of
your user vimrc, then I think putting this near the top of your user
vimrc will work (untested):
if filereadable("config.vim")
so "config.vim"
finish
endif
where "config.vim" is just a name I chose as as an example.
--
Gary Johnson