Advertisement
ThePompompas

VIM

Oct 10th, 2021
1,586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 2.64 KB | None | 0 0
  1. Plug 'sirver/ultisnip
  2. call plug#begin('~/.config/nvim/autoload/plugged')
  3.  
  4.    " Better Syntax Support
  5.    Plug 'sheerun/vim-polyglot'
  6.  
  7.    " File Explorer
  8.    Plug 'scrooloose/NERDTree'
  9.    Plug 'xuyuanp/nerdtree-git-plugin'
  10.  
  11.    " Auto pairs for '(' '[' '{'
  12.    Plug 'jiangmiao/auto-pairs'
  13.  
  14.    " FZF
  15.    Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
  16.    Plug 'junegunn/fzf.vim'
  17.    Plug 'airblade/vim-rooter'
  18.  
  19.    " Tmux
  20.    Plug 'benmills/vimux'
  21.    Plug 'christoomey/vim-tmux-navigator'
  22.    
  23.    " AutoComplete
  24.    Plug 'davidhalter/jedi-vim'
  25.  
  26.    " Python
  27.    Plug 'VundleVim/Vundle.vim'
  28.    Plug 'scrooloose/nerdtree'
  29.    Plug 'kaicataldo/material.vim'
  30.    Plug 'rakr/vim-one'
  31.    Plug 'vim-python/python-syntax'
  32.    Plug 'valloric/youcompleteme'
  33.    Plug 'mattn/emmet-vim'
  34.     Plug 'neoclide/coc.nvim'    
  35.    
  36.     " TabNine
  37.     Plug 'aca/completion-tabnine'
  38.  
  39.     " Configuracion
  40.     Plug 'neovim/nvim-lspconfig'
  41.     Plug 'hrsh7th/nvim-compe'
  42.  
  43.    "Tema
  44.    Plug 'joshdick/onedark.vim'
  45.    Plug 'Shougo/echodoc.vim'
  46.    
  47.    
  48.    Plug 'honza/vim-snippets'
  49.    
  50.    Plug 'Shougo/deoplete.nvim'
  51.  
  52.    Plug 'valloric/youcompleteme'
  53.    Plug 'skywind3000/vim-preview'
  54.    Plug 'zenorocha/dracula-theme', {'as': 'dracula'}
  55.    
  56.    " MiniMap
  57.    Plug 'wfxr/minimap.vim'
  58.  
  59.    if has('nvim')
  60.        Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
  61.    else
  62.        Plug 'Shougo/deoplete.nvim'
  63.        Plug 'roxma/nvim-yarp'
  64.        Plug 'roxma/vim-hug-neovim-rpc'
  65.    endif
  66.    let g:deoplete#enable_at_startup = 1
  67.  
  68.    Plug 'Shougo/neosnippet.vim'
  69.    Plug 'Shougo/neosnippet-snippets'
  70.    Plug 'tpope/vim-dadbod'
  71.    Plug 'stanangeloff/php.vim'
  72.  
  73. call plug#end()
  74.  
  75. syntax on
  76. set nu
  77.  
  78. " Esquema de color para vim
  79. " =============================================================
  80. " Configuración para color de esquema material.
  81. "
  82. set noshowmode
  83. colorscheme one
  84. let g:echodoc_enable_at_startup = 1
  85.  
  86. let g:one_allow_italics = 1
  87.  
  88.  
  89. " Keymaps
  90. " =====================================
  91. " Abrir NerdTree
  92. map <F2> :NERDTreeToggle tree<CR>
  93.  
  94. " Abrir terminal
  95. map <F2> :belowright terminal<CR>
  96.  
  97. "split navigations:
  98. nnoremap <C-J> <C-W><C-J>
  99. nnoremap <C-K> <C-W><C-K>
  100. nnoremap <C-L> <C-W><C-L>
  101. nnoremap <C-H> <C-W><C-H>
  102.  
  103. " Saltar al final de la línea
  104. inoremap <C-e> <C-o>$
  105.  
  106.  
  107. " Expandir snippet con Ctrl + j
  108. let g:UltiSnipsExpandTrigger = '<c-j>'
  109.  
  110. " Ir a siguiente ubicacion con Ctrl + j
  111. let g:UltiSnipsJumpForwardTrigger = '<c-j>'
  112. " Ir a anterior ubicacion con Ctrl + k
  113. let g:UltiSnipsJumpBackwardTrigger = '<c-k>'
  114.  
  115. let g:minimap_width = 10
  116. let g:minimap_auto_start = 1
  117. let g:minimap_auto_start_win_enter = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement