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

9
.gitmodules vendored
View File

@ -160,6 +160,9 @@
[submodule "vim/bundle/chrismetcalf-vim-yankring"]
path = vim/bundle/chrismetcalf-vim-yankring
url = https://github.com/chrismetcalf/vim-yankring.git
[submodule "vim/bundle/tsaleh-vim-align"]
path = vim/bundle/tsaleh-vim-align
url = https://github.com/tsaleh/vim-align
[submodule "vim/bundle/mattn-gist-vim"]
path = vim/bundle/mattn-gist-vim
url = https://github.com/mattn/gist-vim
[submodule "vim/bundle/godlygeek-tabular"]
path = vim/bundle/godlygeek-tabular
url = https://github.com/godlygeek/tabular

View File

@ -262,6 +262,7 @@ Included vim plugins
**Utils**
* tabularize - align code effortlessly by using :Tabularize /[character] to align by a character, or try the mappings ,a= and ,a: to align by equals or colons
* yankring - effortless sanity for pasting. every time you yank something it goes into a buffer. after hitting p to paste, use ctrl-p or ctrl-n to cycle through the paste options. great for when you accidentally overwrite your yank with a delete
* surround - super easy quote and tag manipulation - ysiw" - sourround inner word with quotes. ci"' - change inner double quotes to single quotes, etc
* greplace - use :Gsearch to find across many files, replace inside the changes, then :Greplace to do a replace across all matches

@ -0,0 +1 @@
Subproject commit b7b4d8791a50013b56c2d68b6c5708c808203b54

@ -0,0 +1 @@
Subproject commit dff81c9ec21fa96bb906db4ef355021b9e7cb394

@ -1 +0,0 @@
Subproject commit fa5fdeeea25269c3e83262c03dfa1ccd27dbd3c9

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
" ============================