summaryrefslogtreecommitdiff
path: root/nvimrc
diff options
context:
space:
mode:
Diffstat (limited to 'nvimrc')
-rw-r--r--nvimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/nvimrc b/nvimrc
index 20ac746..44a70c0 100644
--- a/nvimrc
+++ b/nvimrc
@@ -17,6 +17,7 @@ Plug 'junegunn/fzf' , { 'on' : 'FZF' }
Plug 'kien/ctrlp.vim'
Plug 'LaTeX-Box-Team/latex-box', { 'for' : 'tex' }
Plug 'majutsushi/tagbar'
+Plug 'mileszs/ack.vim'
Plug 'rdnetto/YCM-Generator', { 'branch' : 'stable' }
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'scrooloose/syntastic'
@@ -37,7 +38,7 @@ Plug 'tpope/vim-sensible'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-unimpaired'
Plug 'troydm/zoomwintab.vim'
-Plug 'Valloric/YouCompleteMe'
+Plug 'Valloric/YouCompleteMe', { 'do' : './install.sh --clang-completer' }
call plug#end()
"" Plugins options
@@ -61,6 +62,7 @@ let g:airline_section_y = ''
let g:airline_section_z = '%3p%%|%3l|%3c'
let g:airline_theme='base16'
let g:airline#extensions#tabline#enabled = 0
+let g:airline_exclude_preview = 0
let g:bufferline_active_buffer_left = ''
let g:bufferline_active_buffer_right = ''
@@ -104,6 +106,7 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$',
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
let g:ycm_auto_trigger = 1
+let g:ycm_confirm_extra_conf = 1
"" Vim options
@@ -224,8 +227,6 @@ nnoremap <Leader>gd :Gdiff<cr>
" Commands
nnoremap ym :Neomake!<cr>
-nnoremap <c-w>o :mksession! ~/tmp.vim<cr><c-w>o
-nnoremap <c-w>r :source ~/tmp.vim<cr>
" Misc
nnoremap <tab> <C-^>