set tabstop=4
set shiftwidth=4
set softtabstop=4
set autoindent
set mouse=a
set number
set relativenumber
set expandtab
" Plugin
" set nocompatible
" filetype plugin indent on
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" Add plugins here
Plugin 'preservim/nerdtree'
Plugin 'tibabit/vim-templates' " Templates
Plugin 'romkatv/powerlevel10k'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" Autocomplete parenthesis
Plugin 'jiangmiao/auto-pairs'
" Autocomplete
Plugin 'ycm-core/YouCompleteMe'
" Track the engine.
Plugin 'SirVer/ultisnips'
" Snippets are separated from the engine. Add this if you want them:
Plugin 'honza/vim-snippets'
" Trigger configuration. Do not use <tab> if you use https://github.com/Valloric/YouCompleteMe.
"" Ultisnips
let g:UltiSnipsExpandTrigger="<c-a>"
let g:UltiSnipsJumpForwardTrigger="<c-w>"
let g:UltiSnipsJumpBackwardTrigger="<c-q>"
" Create a new snips
" https://yufanlu.net/2016/10/30/ultisnips/
" If you want :UltiSnipsEdit to split your window.
let g:UltiSnipsEditSplit="vertical"
call vundle#end()
filetype plugin indent on
map <C-t> :NERDTree<CR>
" End Plugings
" Setting - Vim Template
let g:tmpl_search_paths = ['~/.vim/VimTemplate/templates']
let g:tmpl_author_email = '[email protected]'
let g:tmpl_author_name = 'Luis Miguel Baez'
nmap <C-k> :TTA<cr>
"" YouCompleteMe
let g:ycm_key_list_previous_completion=['<Up>']
let g:ycm_max_num_candidates = 5
let g:ycm_max_num_identifier_candidates = 50