From 7654f7eeef45b6923bb897f63191209d78e1d50b Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Mar 2025 15:28:03 +0100 Subject: Update --- .vimrc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index d215ca0..3463956 100644 --- a/.vimrc +++ b/.vimrc @@ -1,18 +1,17 @@ call plug#begin() - Plug 'tpope/vim-sensible' Plug 'tpope/vim-commentary' - Plug 'airblade/vim-gitgutter' Plug 'ctrlpvim/ctrlp.vim' Plug 'dense-analysis/ale' Plug 'mitjafelicijan/ungabunga' call plug#end() -colorscheme ungabunga +set nocompatible set number relativenumber autoindent signcolumn=yes cursorline ignorecase set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 set encoding=utf8 spelllang=en_us set backspace=2 scrolloff=4 set shiftwidth=4 tabstop=4 +colorscheme ungabunga nnoremap :bnext nnoremap :bprevious @@ -21,7 +20,6 @@ nnoremap :CtrlPBuffer nnoremap :ALEHover nnoremap :ALEDetail nnoremap r :let @/ = '' -nnoremap f :%!clang-format -style=file:w nmap gr :ALEFindReferences nmap gd :ALEGoToDefinition @@ -34,9 +32,8 @@ let g:ale_detail_to_floating_preview = 1 let g:ale_floating_window_border = 0 let g:ale_virtualtext_cursor = 0 let g:ale_set_quickfix = 1 -let g:ale_linters = { 'cpp': ['clangd'], 'c': ['clangd'] } -let g:ale_fixers = { 'cpp': ['clangd'], 'c': ['clangd'] } +let g:ale_linters = { 'cpp': ['clangd'], 'c': ['clangd'], 'python': ['pylsp'] } +let g:ale_fixers = { 'cpp': ['clangd'], 'c': ['clangd'], 'python': ['pylsp'] } let g:ctrlp_use_caching = 0 let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""' - -- cgit v1.2.3