0

When I'm working in a project it would be useful to be able to set some abbreviations / mappings that are specific only to that project.

I know that I can have file specific mappings in ~/.vim/after/ftplugin

But how would I make it so that certain mappings only in the project I'm working.

So say I have ~/Foo/Bar , Bar being the project that I'm working in.

I could then have some file .vimProjectConfig in Bar.

In .vimProjectConfig I could have something such as :

iabbrev ah Aldous Huxley 

Or other nnoremap settings, etc.

merged by Martin Tournoij May 2 '15 at 18:53

This question was merged with Applying settings to a directory tree only because it is an exact duplicate of that question.

Browse other questions tagged or ask your own question.