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

35 lines
520 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
2022-11-10 00:08:11 +00:00
o.autoindent = true
2022-11-07 18:12:08 +00:00
2022-11-10 00:08:11 +00:00
o.tabstop = 4
o.shiftwidth = 4
o.softtabstop = 4
o.smartindent = true
o.expandtab = true
2022-11-07 18:12:08 +00:00
-- 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