plugins.vim 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 'digitaltoad/vim-jade'
  16. Plugin 'croaker/mustang-vim'
  17. Plugin 'bkad/CamelCaseMotion'
  18. Plugin 'Townk/vim-autoclose'
  19. Plugin 'tpope/vim-endwise'
  20. Plugin 'Lokaltog/vim-easymotion'
  21. call vundle#end()
  22. "# Remap les mouvements normaux (w, b, e) en mouvements CamelCaseMotion
  23. map <silent> w <Plug>CamelCaseMotion_w
  24. map <silent> b <Plug>CamelCaseMotion_b
  25. map <silent> e <Plug>CamelCaseMotion_e
  26. sunmap w
  27. sunmap b
  28. sunmap e
  29. "# Mapping pour activer/désactiver vim-autoclose
  30. nmap <silent> <Leader>a :AutoCloseToggle<CR>
  31. "# Mapping pour ouvrir/fermer NERDTree
  32. nmap <silent> <Leader>t :NERDTreeToggle<CR>
  33. "# Active l'indentation et les plugins spécifiques
  34. filetype indent on
  35. filetype plugin on