From 7f88c72e3b461f4aeaa4beef06970625df89f5e7 Mon Sep 17 00:00:00 2001 From: lhark Date: Thu, 19 Oct 2017 01:08:38 -0400 Subject: [PATCH] Fix tty mouse not working after column 222 --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrc b/vimrc index 2befdba..1c460dd 100644 --- a/vimrc +++ b/vimrc @@ -188,6 +188,12 @@ endif "[Use the mouse in terminal]" set mouse=a set mousemodel=extend +"[Fix mouse past column 222]" +if has("mouse_sgr") + set ttymouse=sgr +else + set ttymouse=xterm2 +end "[Hide mouse while printing the text]" set mousehide "[Visualisation settings]"