From 67f08ba76298c27b65a0bbe023a6711b774cb237 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Thu, 5 Jan 2023 12:08:26 -0800 Subject: [PATCH] disable mouse in neovim --- .config/nvim/fnl/init.fnl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/fnl/init.fnl b/.config/nvim/fnl/init.fnl index d9ecbbf..feea242 100644 --- a/.config/nvim/fnl/init.fnl +++ b/.config/nvim/fnl/init.fnl @@ -25,6 +25,8 @@ (each [_ v (ipairs [:up :down :left :right])] (vim.keymap.set :n (.. "<" v ">") :)) +(set vim.o.mouse nil) + ;; quick save (vim.keymap.set :n "\\\\" ":write") (vim.keymap.set :i "\\\\" ":write")