X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/31a97da22830907bf434b621ad51f8e9451a8def..b6916fcd97ab132495e36b97ccac28c285906a68:/vim/vimrc?ds=sidebyside diff --git a/vim/vimrc b/vim/vimrc index 7ac03d1..c467448 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -112,6 +112,7 @@ Plug 'aklt/plantuml-syntax' Plug 'mtth/scratch.vim' " {{{2 let g:scratch_no_mappings = 1 + let g:scratch_autohide = 0 "}}} Plug 'vim-utils/vim-man' " {{{2 @@ -125,7 +126,12 @@ filetype plugin indent on " colorscheme {{{1 syntax on set background=dark +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 @@ -435,7 +441,11 @@ noremap ' ` nnoremap vv ^vg_ " Unfuck my screen -nnoremap U :syntax sync fromstart:AirlineRefresh:redraw! +nnoremap U + \ :syntax sync fromstart + \ :AirlineRefresh + \ :call popup_clear(1) + \ :redraw! " Ranger " nnoremap r :silent !ranger %:h:redraw!