From 111ce63d9c45c01288d1b1a7f914823a9242c5ac Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 10 Feb 2025 23:05:10 -0600 Subject: [PATCH] only enable neovim mousemoveevent in neovide --- nixos/nvim/neovide.nix | 2 ++ nixos/nvim/plugins/hover.nix | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/nvim/neovide.nix b/nixos/nvim/neovide.nix index ccf921f..9f90dc2 100644 --- a/nixos/nvim/neovide.nix +++ b/nixos/nvim/neovide.nix @@ -8,6 +8,8 @@ vim.keymap.set('v', '', '"+P') -- Paste visual mode vim.keymap.set('c', '', '+') -- Paste command mode vim.keymap.set('i', '', 'l"+Pli') -- Paste insert mode + + vim.o.mousemoveevent = true -- only enable when using neovide, because it sucks in terminal for some reason end ''; }; diff --git a/nixos/nvim/plugins/hover.nix b/nixos/nvim/plugins/hover.nix index 2c45554..f2c5342 100644 --- a/nixos/nvim/plugins/hover.nix +++ b/nixos/nvim/plugins/hover.nix @@ -23,7 +23,6 @@ }, mouse_delay = 400 }) - vim.o.mousemoveevent = false -- enable this if you want to use mouse hover for some reason (are you crazy???? this shit sucks) ''; # autoCmd = [ # {