From b5fa149f410505e9e6a42491912252a2af99061d Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 26 Jan 2021 00:10:51 +0000 Subject: [PATCH] vim: unfuck screen also closes popups --- vim/vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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! -- 2.48.1