summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--.vimrc2
m---------bundle/vim-easy-align0
3 files changed, 5 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 090231f7..8836f4ae 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -52,3 +52,6 @@
 [submodule "bundle/jellybeans.vim"]
 	path = bundle/jellybeans.vim
 	url = https://github.com/programble/jellybeans.vim
+[submodule "bundle/vim-easy-align"]
+	path = bundle/vim-easy-align
+	url = https://github.com/junegunn/vim-easy-align.git
diff --git a/.vimrc b/.vimrc
index 75458795..65fb988b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -144,6 +144,8 @@ nmap <leader>gs :Gstatus<CR>
 nmap <leader>gc :Gcommit<CR>
 nmap <leader>gp :Git push<CR>
 
+vnoremap <silent> <Enter> :EasyAlign<Enter>
+
 " Toggle relative/absolute numbers
 function! NumberToggle()
   if(&relativenumber == 1)
diff --git a/bundle/vim-easy-align b/bundle/vim-easy-align
new file mode 160000
+Subproject 2daae46a43f6e7b9022cbde1dd451d4f798f5f7