commit bace5d2d492fef4828e60306e13078ff3742f3e0
parent 2146ea8bbf72003573d019e13f524335c21c85cc
Author: Chris Bracken <chris@bracken.jp>
Date: Tue, 27 Aug 2024 10:42:47 -0700
vim: fix mouse disabling
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua
@@ -1,7 +1,5 @@
--- Globals.
-vim.g.mouse = 0 -- Disable visual-mode mouse select.
-
-- Basic options
+vim.opt.mouse = '' -- Disable visual-mode mouse select.
vim.opt.incsearch = true -- Turn on incremental searching.
vim.opt.hlsearch = true -- Highlight search.
vim.opt.visualbell = true -- Less noise.