plugins.vim 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 'ervandew/supertab'
  9. Plugin 'jeffkreeftmeijer/vim-numbertoggle'
  10. Plugin 'tpope/vim-fugitive'
  11. Plugin 'airblade/vim-gitgutter'
  12. Plugin 'tmhedberg/matchit'
  13. Plugin 'morhetz/gruvbox'
  14. Plugin 'bkad/CamelCaseMotion'
  15. Plugin 'Townk/vim-autoclose'
  16. Plugin 'tpope/vim-endwise'
  17. Plugin 'Lokaltog/vim-easymotion'
  18. Plugin 'junegunn/vim-easy-align'
  19. Plugin 'vim-scripts/omlet.vim'
  20. Plugin 'wesQ3/vim-windowswap'
  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. "# Mapping pour EasyAlign
  34. vmap <Enter> <Plug>(EasyAlign)
  35. "# Touches pour EasyMotion
  36. " (par défaut : 'asdghklqwertyuiopzxcvbnmfj;')
  37. let g:EasyMotion_keys='qsdghklazertyuiopwxcvbnmfj;'
  38. "# Active l'indentation et les plugins spécifiques
  39. filetype indent on
  40. filetype plugin on