set nocompatible call plug#begin() Plug 'tpope/vim-commentary' Plug 'ctrlpvim/ctrlp.vim' Plug 'dense-analysis/ale' Plug 'airblade/vim-gitgutter' call plug#end() set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 path=** set number relativenumber autoindent cursorline ignorecase signcolumn=yes set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 colorscheme wildcharm nnoremap :bnext nnoremap :bprevious nnoremap :copen nnoremap :CtrlPBuffer nnoremap e :nohlsearch nnoremap q :ALEHover nnoremap w :ALEDetail nnoremap gc :r !< % lazycommit nmap gr :ALEFindReferences nmap gd :ALEGoToDefinition nmap re :ALERename let g:ctrlp_use_caching = 0 let g:ale_completion_enabled = 0 let g:ale_hover_to_floating_preview = 1 let g:ale_detail_to_floating_preview = 1 let g:ale_virtualtext_cursor = 0 let g:ale_set_quickfix = 1 let g:ale_linters = { 'c': ['clangd'], 'cpp': ['clangd'] }