dotfiles/neovim/.config/nvim/lua/warrenhood/settings.lua

31 lines
461 B
Lua
Raw Normal View History

2022-11-07 18:12:08 +00:00
local o = vim.o
local g = vim.g
-- General stuff
o.number = true
o.relativenumber = true
o.tabstop = 2
o.shiftwidth = 0
o.softtabstop = -1
-- Make clipboard work with neovim
o.clipboard = 'unnamedplus'
-- Case insensitive search
o.ignorecase = true
o.smartcase = true
2022-11-07 18:45:09 +00:00
-- Enable mouse
o.mouse = 'a'
2022-11-08 23:03:55 +00:00
-- Enable termguicolors
o.termguicolors = true
-- Use space for leader key
g.mapleader = " "
-- Disable netrw
g.loaded_netrw = 1
g.loaded_netrwPlugin = 1