From aa43b8334aea182a442f6a88854065ec9a1f3c24 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 27 Jul 2015 00:11:11 -0400 Subject: Track project-specific config files * Remove project files from the ignore list * Add project config files as they are now * Create a new untracked file to keep track of project directory paths The reason why I never tracked project files in the repo was because I didn't want my file paths to be shared publicly. But over time I've been making changes to my `flashnotes.vim` config and wanted to be able to track those changes, especially the `ctags` ones. Now, I'm able to track those config files and still hide my file paths from public view using a set of environment variables defined in `.vim/projects/file-paths.vim`. --- vimrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index f9dd6ad..ad81b4b 100644 --- a/vimrc +++ b/vimrc @@ -672,6 +672,9 @@ command! -nargs=* Wrap set wrap linebreak nolist " Project Settings " ================ +" Source environment variables set to project paths +source ~/.vim/projects/file-paths.vim + " Source all files in the ~/.vim/projects directory " http://stackoverflow.com/a/4500936 for f in split(glob('~/.vim/projects/*.vim'), '\n') -- cgit v1.2.3