From 8b14451a56c6cbfbaf07189f31b8259493545943 Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Sun, 9 Dec 2018 12:08:20 -0500 Subject: [PATCH] vim: overhaul gitignore to be plugin-like To begin the process of moving code outside of vimrc (into say autoload/ or plugin/), the first step is to rework the gitignore to not ignore everything, as it was previously doing. --- vim/.gitignore | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/vim/.gitignore b/vim/.gitignore index cc660ea..54ef2ed 100644 --- a/vim/.gitignore +++ b/vim/.gitignore @@ -1,8 +1,16 @@ -# Ignore all but syntax/ftplugin subdirectories +# Ignore files generated by editing # Stuff like swp/ and undo/ really shouldn't be tracked -*/* -!syntax/* -!ftplugin/* +swp/ +spell/ +undo/ # Ignore plugin artifacts .netrwhist + +# Ignore dependencies (TODO: use submodules?) +autoload/pathogen.vim +autoload/plug.vim +bundle/ + +# Ignore tags +tags -- libgit2 0.28.4