commit 8b14451a56c6cbfbaf07189f31b8259493545943 (patch)
parent 856bb5accb0714826088ae8f3a69c520ad17da59
Author: Alexander Karle <akarle@umass.edu>
Date: Sun, 9 Dec 2018 12:08:20 -0500
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.
Diffstat:
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git 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