X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/468863c297e49615512887847b3f5c153ac48e99..ccac0dd6d368660fb6a06c55b242f0bca6de65b3:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 81f89ac..79944d1 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -130,6 +130,8 @@ let &t_8f = "\[38;2;%lu;%lu;%lum" let &t_8b = "\[48;2;%lu;%lu;%lum" set termguicolors colorscheme $THEME +"TODO see how I can integrate this into a theme that customises upstream Nord +hi debugPC term=reverse ctermbg=8 " options {{{1 " moving around, searching and patterns {{{2 @@ -159,8 +161,9 @@ set listchars+=extends:❯,precedes:❮ set listchars+=trail:· augroup trailing au! - au InsertEnter * :set listchars-=trail:· - au InsertLeave * :set listchars+=trail:· + au FileType qf setlocal listchars-=trail:· + au InsertEnter * set listchars-=trail:· + au InsertLeave * set listchars+=trail:· augroup END set scrolloff=5 " number of screen lines to show around the cursor @@ -262,6 +265,8 @@ set viewoptions+=folds " save folds set diffopt+=filler " show filler lines set diffopt+=vertical " always vertical split set diffopt+=context:10 " 10 lines context between changes +set diffopt+=internal +set diffopt+=algorithm:patience " reading and writing files {{{2 set modeline " read modelines