aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2015-07-27 00:11:11 -0400
committerTeddy Wing2015-07-27 00:11:11 -0400
commitaa43b8334aea182a442f6a88854065ec9a1f3c24 (patch)
tree148da7be614cecc6c9385e2d3c91ca71afbd7d59 /vimrc
parentdcb5dc94893ba546a52085c92d9e982a4d6a1464 (diff)
downloaddotvim-aa43b8334aea182a442f6a88854065ec9a1f3c24.tar.bz2
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`.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
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')