diff --git a/.vimrc b/.vimrc index 376b12b..774c410 100644 --- a/.vimrc +++ b/.vimrc @@ -11,12 +11,13 @@ set spelllang=fr " colorscheme habamax " colorscheme slate " colorscheme quiet +" colorscheme 256_noir " for light terminal " set background=light set wrap - +set splitright " search set incsearch "incremental search set hlsearch "highlight search @@ -40,7 +41,7 @@ set smartindent set tabstop=4 set shiftwidth=4 -" ctrlp +" ctrlp with plugins " see https://ctrlpvim.github.io/ctrlp.vim/ " set runtimepath^=~/.vim/bundle/ctrlp.vim @@ -50,7 +51,7 @@ function! AddGitRootToVimPath() let l:git_root = system('git -C ' . expand('%:p:h') . ' rev-parse --show-toplevel 2>/dev/null') if v:shell_error == 0 let l:git_root = substitute(l:git_root, '\n', '', 'g') - execute 'set path+=' . l:git_root + execute 'set path+=' . l:git_root . '/**' endif endif endfunction @@ -62,11 +63,12 @@ set path+=** set wildmenu set wildmode=longest:full,full set wildoptions=pum,fuzzy - +set wildignore+=*.o,*.a,*.class,*.pyc,*/node_modules/*,*/dist/* nnoremap :tabfind* " ctrl-j for terminal -nnoremap :below terminal +nnoremap :below terminal ++rows=10 -" explorer +" ctrl-k-b for explorer nnoremap :30Vex +