Replaced align.vim with tabular.vim because it is more popular
This commit is contained in:
parent
3cc2d28114
commit
5002f51491
9
.gitmodules
vendored
9
.gitmodules
vendored
@ -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
|
||||
|
@ -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
|
||||
|
1
vim/bundle/godlygeek-tabular
Submodule
1
vim/bundle/godlygeek-tabular
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit b7b4d8791a50013b56c2d68b6c5708c808203b54
|
1
vim/bundle/mattn-gist-vim
Submodule
1
vim/bundle/mattn-gist-vim
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit dff81c9ec21fa96bb906db4ef355021b9e7cb394
|
@ -1 +0,0 @@
|
||||
Subproject commit fa5fdeeea25269c3e83262c03dfa1ccd27dbd3c9
|
@ -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
|
||||
" ============================
|
||||
|
Loading…
Reference in New Issue
Block a user