Advertisement
d1cor

vim_plugins.vim

Jul 17th, 2019
953
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.91 KB | None | 0 0
  1. "set nocompatible              " be iMproved, required
  2. "filetype off                  " required
  3.  
  4. " set the runtime path to include Vundle and initialize
  5. set rtp+=~/.vim/bundle/Vundle.vim
  6.  
  7. call vundle#begin()
  8. " alternatively, pass a path where Vundle should install plugins
  9. "call vundle#begin('~/some/path/here')
  10. let g:clang_c_options = '-std=gnu11'
  11.  
  12. " let Vundle manage Vundle, required
  13. Plugin 'VundleVim/Vundle.vim'
  14.  
  15. Plugin 'MarcWeber/vim-addon-mw-utils'
  16. Plugin 'tomtom/tlib_vim'
  17.  
  18. " arbol de directorios, con F2 toggle
  19. Plugin 'https://github.com/scrooloose/nerdtree'
  20. let g:NERDTreeChDirMode = 2  " Cambia el directorio actual al nodo padre actual
  21. " Abrir/cerrar NERDTree con F2
  22. map <F2> :NERDTreeToggle<CR>
  23.  
  24. "Barra de estados
  25. Plugin 'vim-airline/vim-airline'
  26. Plugin 'vim-airline/vim-airline-themes'  " Temas para airline
  27. let g:airline#extensions#tabline#enabled = 1  " Mostrar buffers abiertos (como pestañas)
  28. let g:airline#extensions#tabline#fnamemod = ':t'  " Mostrar sólo el nombre del archivo
  29.  
  30. " Cargar fuente Powerline y símbolos (ver nota)
  31. let g:airline_powerline_fonts = 1
  32. set noshowmode  " No mostrar el modo actual (ya lo muestra la barra de estado)
  33.  
  34. "Autocompletado
  35. Plugin 'garbas/vim-snipmate'
  36. Plugin 'honza/vim-snippets'
  37. Plugin 'https://github.com/davidhalter/jedi-vim'
  38.  
  39.  
  40. " All of your Plugins must be added before the following line
  41. call vundle#end()            " required
  42. filetype plugin indent on    " required
  43. " To ignore plugin indent changes, instead use:
  44. "filetype plugin on
  45. "
  46. " Brief help
  47. " :PluginList       - lists configured plugins
  48. " :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
  49. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  50. " :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
  51. "
  52. " see :h vundle for more details or wiki for FAQ
  53. " Put your non-Plugin stuff after this line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement