commit 73c8d978df71096cdfb3e5e102ca552730312848
parent 77d6da9de8d90c227ea118d960608fbdcb2fbda6
Author: Alex Balgavy <alex@balgavy.eu>
Date: Fri, 25 Feb 2022 23:08:09 +0100
vim: fix mouse in alacritty
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -608,7 +608,7 @@ set mouse=a
" fix issue with not being able to drag resize split windows in tmux
if &term =~# '^screen' || $TMUX !=# ""
set ttymouse=xterm2
-elseif &term =~# '^st-'
+elseif &term =~# '^st-' || &term =~# '^alacritty'
set ttymouse=sgr
endif