Skip to content

Commit

Permalink
adding tabularize shortcuts to .vimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
spf13 committed May 5, 2011
1 parent 878e46f commit 2b3d2e9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,22 @@
let NERDTreeShowHidden=1
let NERDTreeKeepTreeInNewTab=1
" }

" Tabularize {
if exists(":Tabularize")
nmap <Leader>a= :Tabularize /=<CR>
vmap <Leader>a= :Tabularize /=<CR>
nmap <Leader>a: :Tabularize /:<CR>
vmap <Leader>a: :Tabularize /:<CR>
nmap <Leader>a:: :Tabularize /:\zs<CR>
vmap <Leader>a:: :Tabularize /:\zs<CR>
nmap <Leader>a, :Tabularize /,<CR>
vmap <Leader>a, :Tabularize /,<CR>
nmap <Leader>a| :Tabularize /|<CR>
vmap <Leader>a| :Tabularize /|<CR>
endif
" }


" Richard's plugins {
" Fuzzy Finder {
Expand Down

0 comments on commit 2b3d2e9

Please sign in to comment.