From: Samir Benmendil Date: Tue, 26 Jan 2021 00:10:51 +0000 (+0000) Subject: vim: unfuck screen also closes popups X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/b5fa149f410505e9e6a42491912252a2af99061d vim: unfuck screen also closes popups --- diff --git a/vim/vimrc b/vim/vimrc index 7ac03d1..675b5ab 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -435,7 +435,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!