Commit 5d338233 authored by Adrien Dorsaz's avatar Adrien Dorsaz
Browse files

update vim config

parent 023eac48
......@@ -8,7 +8,7 @@ set nocompatible " Use Vim defaults instead of 100% vi compatibility
set backspace=indent,eol,start " more powerful backspacing
" Now we set some defaults for the editor
set history=50 " keep 50 lines of command line history
set history=200 " keep 50 lines of command line history
set ruler " show the cursor position all the time
" modelines have historically been a source of security/resource
......@@ -86,8 +86,11 @@ set title
" Always show sign and number
set signcolumn=yes
" Highlight current search
set hlsearch
" CtrlP
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/build/*,*node_modules*,*vendor/bundle/*,.cache,.clangd
set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/build/*,*node_modules*,*vendor/bundle/*,.cache,.clang
let g:ctrlp_show_hidden = 1
......@@ -161,6 +164,7 @@ let g:lightline = {
"
" Coc: TextEdit might fail if hidden is not set.
" hidden allow to switch buffer even if not saved
set hidden
" Coc: Some servers have issues with backup files, see #649.
......@@ -168,7 +172,7 @@ set nobackup
set nowritebackup
" Coc: Give more space for displaying messages.
"set cmdheight=2
set cmdheight=2
" Coc: Having longer updatetime (default is 4000 ms = 4 s) leads to noticeable
" delays and poor user experience.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment