Finish NVIM refactor

This commit is contained in:
stitchy 2024-11-08 00:07:26 +00:00
parent 53ef1f28c6
commit 7545885942
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
6 changed files with 108 additions and 31 deletions

View file

@ -2,13 +2,19 @@
local opt = vim.opt
-- Leader key
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
-- Basic Options I like
opt.hlsearch = true
opt.ignorecase = true
opt.relativenumber = true
opt.number = true
opt.spell = true
opt.swapfile = false
opt.syntax = "on"
opt.scrolloff = 15
-- Had this disabled before might not like
opt.incsearch = true
@ -18,7 +24,7 @@ opt.termguicolors = true
-- Good indents
opt.tabstop = 2
opt.shiftwidth = 2
opt.shiftwidth = 0 -- Use tabstop
opt.expandtab = true
-- Show trailing whitespace but fancy