dottru / vim

Dotfiles for my vim installation
0 stars 0 forks source link

Rewrite project integration. #3

Open jmkogut opened 10 years ago

jmkogut commented 10 years ago

Currently plugin/project.vim only changes directory. That's all.

On buf open or window focus, search upwards until you find a dir (or maybe a file) called ".project".

Save this to 'g:project_dir'.

Set backupdir, swapdir, undodir, viewsdir, fucking everything to this found project dir. Also add it to the vim runtime list so specific vim configs can be loaded.

jmkogut commented 10 years ago

Create header plugin that comments out a template block in the start of every file.