Permalink
Browse files

Added tabular for aligning stuff.

  • Loading branch information...
1 parent 2c21a9f commit 95e45c8fad8937f5202cb1234ecec937115d4837 @tomtaylor committed Jun 1, 2012
Showing with 10 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 bundle/tabular
  3. +6 −0 vimrc
View
@@ -43,3 +43,6 @@
[submodule "bundle/irblack"]
path = bundle/irblack
url = https://github.com/wgibbs/vim-irblack.git
+[submodule "bundle/tabular"]
+ path = bundle/tabular
+ url = https://github.com/godlygeek/tabular.git
Submodule tabular added at ad2a5a
View
6 vimrc
@@ -138,3 +138,9 @@ command! KillWhitespace :normal :%s/ *$//g<cr><c-o><cr>
" toggle between buffers quickly
nnoremap <leader><leader> <c-^>
+
+" aligning characters
+nmap <Leader>a= :Tabularize /=<CR>
+vmap <Leader>a= :Tabularize /=<CR>
+nmap <Leader>a: :Tabularize /:\zs<CR>
+vmap <Leader>a: :Tabularize /:\zs<CR>

0 comments on commit 95e45c8

Please sign in to comment.