Skip to content

Commit ce850a5

Browse files
committed
Swap Align for EasyAlign
Because it's easier. If you want Align'y usage: :EasyAlign=
1 parent f4f0b40 commit ce850a5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.vimrc

+5-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
Plug 'tpope/vim-surround'
6363

6464
" Align your = etc.
65-
Plug 'vim-scripts/Align'
65+
Plug 'junegunn/vim-easy-align'
6666

6767
" Snippets like textmate
6868
if has('python') || has('python3')
@@ -396,6 +396,10 @@
396396
" Syntastic - toggle error list. Probably should be toggleable.
397397
noremap <silent><leader>lo :Errors<CR>
398398
noremap <silent><leader>lc :lclose<CR>
399+
400+
" EasyAlign - interactive mode (e.g. vipga/gaip)
401+
xmap ga <Plug>(EasyAlign)
402+
nmap ga <Plug>(EasyAlign)
399403
""" }}}
400404
""" }}}
401405
""" Plugin settings {{{

0 commit comments

Comments
 (0)