From 9db0bcee71d9847c5dbb3f457dbad6516460bb8d Mon Sep 17 00:00:00 2001 From: Jasper Bok Date: Tue, 27 Feb 2024 18:17:49 +0100 Subject: [PATCH] Disable mouse mode in neovim --- private_dot_config/nvim/init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/private_dot_config/nvim/init.lua b/private_dot_config/nvim/init.lua index 9aa3c54..aee8af3 100644 --- a/private_dot_config/nvim/init.lua +++ b/private_dot_config/nvim/init.lua @@ -26,6 +26,10 @@ vim.opt.shiftwidth = 4 -- Display invisible characters (tabs, trailing whitespace, etc.). vim.opt.list = true +-- Disable mouse mode completely, so we can select text using the +-- mouse from withint tmux. +vim.opt.mouse = '' + vim.g.mapleader = " " -- ----------------------------------