Skip to content

Commit

Permalink
Disable mouse
Browse files Browse the repository at this point in the history
  • Loading branch information
NonlinearFruit committed Aug 27, 2024
1 parent 3ce1d3d commit b0921b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ local function setLeader()
vim.g.mapleader = " "
end

local function disableMouse()
vim.opt.mouse = ""
end

local function setIndentation()
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
Expand Down Expand Up @@ -77,3 +81,4 @@ setLeader()
setPlugins()
tweakDisplay()
tweakNetrw()
disableMouse()

0 comments on commit b0921b4

Please sign in to comment.