plugins.vim 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. call vundle#end()
  23. "# Remap les mouvements normaux (w, b, e) en mouvements CamelCaseMotion
  24. map <silent> w <Plug>CamelCaseMotion_w
  25. map <silent> b <Plug>CamelCaseMotion_b
  26. map <silent> e <Plug>CamelCaseMotion_e
  27. sunmap w
  28. sunmap b
  29. sunmap e
  30. "# Mapping pour activer/désactiver vim-autoclose
  31. nmap <silent> <Leader>a :AutoCloseToggle<CR>
  32. "# Mapping pour ouvrir/fermer NERDTree
  33. nmap <silent> <Leader>t :NERDTreeToggle<CR>
  34. "# Mapping pour EasyAlign
  35. vmap <Enter> <Plug>(EasyAlign)
  36. "# Active l'indentation et les plugins spécifiques
  37. filetype indent on
  38. filetype plugin on