Replaced align.vim with tabular.vim because it is more popular

This commit is contained in:
yan
2011-12-18 01:05:38 -08:00
committed by Yan Pritzker
parent 3cc2d28114
commit 5002f51491
6 changed files with 19 additions and 5 deletions

View File

@@ -29,7 +29,6 @@ imap <silent> <D-k> _
imap <silent> <D-d> _
imap <silent> <D-K> -
imap <silent> <D-D> -
" Don't have to use Shift to get into command mode, just hit semicolon
nnoremap ; :
@@ -159,6 +158,16 @@ nnoremap <D-*> :let @/='\<<C-R>=expand("<cword>")<CR>\>'<CR>:set hls<CR>
nnoremap ' `
nnoremap ` '
" Tabularization. Hit ,a then type a character you want to align by
" The mnemonic is 'a' for align
if exists(":Tabularize")
nmap ,a= :Tabularize /=<CR>
vmap ,a= :Tabularize /=<CR>
nmap ,a: :Tabularize /:\zs<CR>
vmap ,a: :Tabularize /:\zs<CR>
endif
" ============================
" VimBookmarking
" ============================