Custom VIM settings for a project
Ever wanted to tweak a few settings but only for the project at hand?
Well here's some basic vimscript to get you going:
" Search up path for proj.vim file so we can wire in
" extra settings on a per project basis.
let proj_settings=findfile('proj.vim', '.;/')
if filereadable(proj_settings)
source `=proj_settings`
endif
Allows you to optionally include a 'proj.vim' file at the top of your project and have VIM automatically pick it up.
Written by Sean Copenhaver
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Related Tags
#vim
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#