vimrc: solve mouse shenanigans

This commit is contained in:
surtur 2022-10-30 03:41:51 +01:00
parent d4fcbbe645
commit a1109e786b
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -1188,8 +1188,18 @@ hi! link texMathZoneXX texMathZone
hi! link texMathZoneEnsured texMathZone hi! link texMathZoneEnsured texMathZone
set conceallevel=0 " for jsons set conceallevel=0 " for jsons
set ttymouse=sgr " tmux mouse behaviour set ttymouse=sgr " falls back to xterm,xterm2
" temporarily set ttymouse to xterm mode, setting notballoonevalterm did not
" help
" refs:
" https://github.com/vim/vim/issues/9863
" https://github.com/kovidgoyal/kitty/issues/4992
" https://github.com/kovidgoyal/kitty/issues/5107
" https://github.com/kovidgoyal/kitty/commit/55b21b741ebc45453f089c962ec46feff394c0e4
" set ttymouse=xterm
" set noballoonevalterm
set mouse=a " enable mouse in n,v,i,c,h modes set mouse=a " enable mouse in n,v,i,c,h modes
set t_RV=
" persistent undo history (even if close buffer) " persistent undo history (even if close buffer)