aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-03 19:17:32 +0800
committerGuangxiong Lin <[email protected]>2022-04-03 19:19:12 +0800
commit9e35fbd6cee2c5e235629e376d324ae294163a9a (patch)
tree92c4c8cf2aedecbfdf698e6324c48684c2b62cfc
parent2b4aff213c914c02f89a26bbbdd6d0bd8c63b027 (diff)
downloaddotfiles-9e35fbd6cee2c5e235629e376d324ae294163a9a.tar.gz
dotfiles-9e35fbd6cee2c5e235629e376d324ae294163a9a.tar.bz2
dotfiles-9e35fbd6cee2c5e235629e376d324ae294163a9a.zip
Add vim-easy-align
-rw-r--r--.vim/after/plugin/easy-align.vim2
-rw-r--r--.vim/after/plugin/minpac.vim1
2 files changed, 3 insertions, 0 deletions
diff --git a/.vim/after/plugin/easy-align.vim b/.vim/after/plugin/easy-align.vim
new file mode 100644
index 0000000..1c716d2
--- /dev/null
+++ b/.vim/after/plugin/easy-align.vim
@@ -0,0 +1,2 @@
+nmap <leader>ga <Plug>(EasyAlign)
+xmap <leader>ga <Plug>(EasyAlign)
diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim
index 3435629..f1e0c92 100644
--- a/.vim/after/plugin/minpac.vim
+++ b/.vim/after/plugin/minpac.vim
@@ -37,6 +37,7 @@ function! InitMinpac() abort
call minpac#add('https://github.com/habamax/vim-godot.git')
call minpac#add('https://github.com/ledger/vim-ledger.git')
call minpac#add('https://github.com/mhinz/vim-signify.git')
+ call minpac#add('https://github.com/junegunn/vim-easy-align')
call minpac#add('https://github.com/tpope/vim-unimpaired.git')
call minpac#add('https://github.com/tpope/vim-surround.git')
call minpac#add('https://github.com/tpope/vim-rsi.git')