only enable neovim mousemoveevent in neovide

This commit is contained in:
cswimr 2025-02-10 23:05:10 -06:00
parent 2659ea15b8
commit 111ce63d9c
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,8 @@
vim.keymap.set('v', '<C-S-v>', '"+P') -- Paste visual mode
vim.keymap.set('c', '<C-S-v>', '<C-R>+') -- Paste command mode
vim.keymap.set('i', '<C-S-v>', '<ESC>l"+Pli') -- Paste insert mode
vim.o.mousemoveevent = true -- only enable when using neovide, because it sucks in terminal for some reason
end
'';
};

View file

@ -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 = [
# {