From d29253c128c9a5c912f7605d24b193c0ad63f9be Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sun, 3 Aug 2025 01:14:08 +0200 Subject: Update --- .vimrc | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 6eddbff..cae2c54 100644 --- a/.vimrc +++ b/.vimrc @@ -1,34 +1,25 @@ -set nocompatible +set nocompatible noexrc secure +filetype plugin on call plug#begin() - Plug 'tpope/vim-commentary' - Plug 'ctrlpvim/ctrlp.vim' - Plug 'dense-analysis/ale' - Plug 'airblade/vim-gitgutter' + Plug 'tpope/vim-commentary' + Plug 'airblade/vim-gitgutter' + Plug 'ctrlpvim/ctrlp.vim' call plug#end() set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 set number relativenumber autoindent cursorline ignorecase signcolumn=yes set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 -set hlsearch incsearch backspace=indent,eol,start path=** +set hlsearch incsearch backspace=indent,eol,start path+=** +set completeopt=menuone,noinsert,noselect,longest colorscheme wildcharm nnoremap :bnext nnoremap :bprevious nnoremap :copen nnoremap :CtrlPBuffer -nnoremap e :nohlsearch -nnoremap q :ALEHover -nnoremap w :ALEDetail - -nmap gr :ALEFindReferences -nmap gd :ALEGoToDefinition -nmap re :ALERename +nnoremap q :nohlsearch +nnoremap c :!ctags -R . 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'] } +let g:ctrlp_working_path_mode = '' -- cgit v1.2.3