Updating align shortcuts

This commit is contained in:
Hunter Haugen 2013-02-08 16:39:46 -08:00
parent ad56a77baa
commit 70501984d2

5
.vimrc
View file

@ -300,8 +300,9 @@ map <silent> <F9> :set noet<CR>:set sw=8<CR>:set ts=8<CR>
map <silent> <S-F9> :set list! listchars<CR>
" Re-align '=' signs {{{2
vnoremap <silent> <Leader>= :'<,'>Align =
nnoremap <silent> <Leader>= V%:'<,'>Align =<CR>
vnoremap <Leader>> :Align =><CR>
vnoremap <Leader>= :Align =<CR>
nnoremap <Leader>= V%:'<,'>Align =<CR>
" Show lines longer than 80 characters {{{2
"au BufWinEnter * let w:m1=matchadd('Search', '\%<81v.\%>77v', -1)