Browse Source

Ajout du plugin EasyAlign

Thibaut Marty 9 years ago
parent
commit
4d8467d0b3
2 changed files with 5 additions and 0 deletions
  1. 1 0
      README.md
  2. 4 0
      plugins.vim

+ 1 - 0
README.md

@@ -54,6 +54,7 @@ rm -rf .vim .vimrc
 * [vim-autoclose](https://github.com/Townk/vim-autoclose)
 * [vim-endwise](https://github.com/tpope/vim-endwise)
 * [vim-easymotion](https://github.com/Lokaltog/vim-easymotion)
+* [vim-easy-align](https://github.com/junegunn/vim-easy-align)
 
 ## Licence
 

+ 4 - 0
plugins.vim

@@ -18,6 +18,7 @@ Plugin 'bkad/CamelCaseMotion'
 Plugin 'Townk/vim-autoclose'
 Plugin 'tpope/vim-endwise'
 Plugin 'Lokaltog/vim-easymotion'
+Plugin 'junegunn/vim-easy-align'
 
 call vundle#end()
 
@@ -35,6 +36,9 @@ nmap <silent> <Leader>a :AutoCloseToggle<CR>
 "# Mapping pour ouvrir/fermer NERDTree
 nmap <silent> <Leader>t :NERDTreeToggle<CR>
 
+"# Mapping pour EasyAlign
+vmap <Enter> <Plug>(EasyAlign)
+
 "# Active l'indentation et les plugins spécifiques
 filetype indent on
 filetype plugin on