summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2016-12-23 21:45:56 -0600
committerBobby Bingham <koorogi@koorogi.info>2016-12-23 21:45:56 -0600
commit8ffda4ecff0a2c93023d0e4fe4e079636d930571 (patch)
treeae269eb8547d14232d7f0537cadd99de706ef86f /vim
parent1a63b2438d1d552080b36c211de1996359d2c289 (diff)
vim: add tabular for text alignment
Diffstat (limited to 'vim')
m---------vim/.vim/bundle/tabular0
-rw-r--r--vim/.vimrc5
2 files changed, 5 insertions, 0 deletions
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>