plugins.vim 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. "# Chargement de Vundle
  2. filetype off
  3. set rtp+=~/.vim/bundle/Vundle.vim
  4. call vundle#begin()
  5. Plugin 'gmarik/Vundle.vim'
  6. "# Liste des plugins
  7. Plugin 'scrooloose/nerdtree'
  8. Plugin 'scrooloose/nerdcommenter'
  9. Plugin 'ervandew/supertab'
  10. Plugin 'jeffkreeftmeijer/vim-numbertoggle'
  11. Plugin 'tpope/vim-fugitive'
  12. Plugin 'airblade/vim-gitgutter'
  13. Plugin 'tmhedberg/matchit'
  14. Plugin 'moll/vim-node'
  15. Plugin 'croaker/mustang-vim'
  16. Plugin 'bkad/CamelCaseMotion'
  17. Plugin 'Townk/vim-autoclose'
  18. Plugin 'tpope/vim-endwise'
  19. Plugin 'Lokaltog/vim-easymotion'
  20. Plugin 'junegunn/vim-easy-align'
  21. Plugin 'vim-scripts/omlet.vim'
  22. Plugin 'vim-scripts/DoxygenToolkit.vim'
  23. call vundle#end()
  24. "# Remap les mouvements normaux (w, b, e) en mouvements CamelCaseMotion
  25. map <silent> w <Plug>CamelCaseMotion_w
  26. map <silent> b <Plug>CamelCaseMotion_b
  27. map <silent> e <Plug>CamelCaseMotion_e
  28. sunmap w
  29. sunmap b
  30. sunmap e
  31. "# Mapping pour activer/désactiver vim-autoclose
  32. nmap <silent> <Leader>a :AutoCloseToggle<CR>
  33. "# Mapping pour ouvrir/fermer NERDTree
  34. nmap <silent> <Leader>t :NERDTreeToggle<CR>
  35. "# Mapping pour EasyAlign
  36. vmap <Enter> <Plug>(EasyAlign)
  37. "# Active l'indentation et les plugins spécifiques
  38. filetype indent on
  39. filetype plugin on