commit d7b85aad6df2529c5f12f9cf12b865fc231b4ed6
parent b1af9311f40a445c7db0bc0f5caf87e6d5c2d341
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 3 Oct 2019 00:45:31 -0400
vim: easyalign plugin
Former-commit-id: 77df0806ceb444efc8c05da8a4e4c75cc7bd0de0
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -106,6 +106,9 @@ Plug 'myhere/vim-nodejs-complete'
Plug 'othree/html5.vim'
Plug 'vim-scripts/OmniCppComplete'
Plug 'vim-scripts/pythoncomplete'
+
+" Alignment
+Plug 'junegunn/vim-easy-align'
call plug#end()
" }}}
" Config {{{
@@ -264,6 +267,13 @@ let hs_highlight_boolean = 1
let hs_highlight_types = 1
let hs_highlight_more_types = 1
" }}}
+" EasyAlign {{{
+" Start interactive EasyAlign in visual mode (e.g. vipga)
+xmap ga <Plug>(EasyAlign)
+
+" Start interactive EasyAlign for a motion/text object (e.g. gaip)
+nmap ga <Plug>(EasyAlign)
+" }}}
" }}}
" }}}
" General {{{