Skip to content

Commit

Permalink
Added tabular for aligning stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtaylor committed Jun 1, 2012
1 parent 2c21a9f commit 95e45c8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@
[submodule "bundle/irblack"] [submodule "bundle/irblack"]
path = bundle/irblack path = bundle/irblack
url = https://github.com/wgibbs/vim-irblack.git url = https://github.com/wgibbs/vim-irblack.git
[submodule "bundle/tabular"]
path = bundle/tabular
url = https://github.com/godlygeek/tabular.git
1 change: 1 addition & 0 deletions bundle/tabular
Submodule tabular added at ad2a5a
6 changes: 6 additions & 0 deletions vimrc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -138,3 +138,9 @@ command! KillWhitespace :normal :%s/ *$//g<cr><c-o><cr>


" toggle between buffers quickly " toggle between buffers quickly
nnoremap <leader><leader> <c-^> 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.