From db7fb3a68d95303af93eb17a19de3b9e6b6a8ffd Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Sat, 23 Jan 2021 20:22:18 +0100 Subject: [PATCH] config/nvim/init: disable mouse in insert mode --- .config/nvim/init/general.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/init/general.vim b/.config/nvim/init/general.vim index bd2205b..a83059f 100644 --- a/.config/nvim/init/general.vim +++ b/.config/nvim/init/general.vim @@ -1,5 +1,5 @@ set termguicolors -set mouse=a " Enable mouse in all modes +set mouse=nvh " Disable mouse in insert mode to allow middle-click paste in remote session - https://vi.stackexchange.com/q/23080 " persist undo & backup files set undofile