summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------vim/.vim/bundle/tabular0
-rw-r--r--vim/.vimrc5
3 files changed, 8 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index e347273..3e2f293 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -7,3 +7,6 @@
[submodule "vim/.vim/bundle/gruvbox"]
path = vim/.vim/bundle/gruvbox
url = https://github.com/morhetz/gruvbox.git
+[submodule "vim/.vim/bundle/tabular"]
+ path = vim/.vim/bundle/tabular
+ url = git://github.com/godlygeek/tabular.git
diff --git a/vim/.vim/bundle/tabular b/vim/.vim/bundle/tabular
new file mode 160000
+Subproject 00e1e7fcdbc6d753e0bc8043e0d2546fa81bf36
diff --git a/vim/.vimrc b/vim/.vimrc
index 44d01c4..0ad8e95 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -47,3 +47,8 @@ set number relativenumber
" ctrlp.vim:
let g:ctrlp_map='<c-p>' "display fuzzy buffer search on ^P
+
+" tabular:
+" align equals on 'a=', comma on 'a,'
+nnoremap a= :Tabularize /=<cr>
+nnoremap a, :Tabularize /,/r0l1<cr>