summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc5
1 files changed, 5 insertions, 0 deletions
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>