overhaul of some dotfiles

This commit is contained in:
Blake Ridgway
2026-04-05 10:42:44 -05:00
parent 05cdb1ca14
commit 8a006faf65
69 changed files with 697 additions and 6191 deletions

View File

@@ -1,6 +1,23 @@
require "nvchad.options"
-- add yours here!
local o = vim.opt
-- local o = vim.o
-- o.cursorlineopt ='both' -- to enable cursorline!
o.relativenumber = true -- relative line numbers for fast navigation
o.scrolloff = 8 -- keep 8 lines visible above/below cursor
o.sidescrolloff = 8
o.wrap = false -- no line wrapping
o.undofile = true -- persist undo history across sessions
o.splitbelow = true -- horizontal splits open below
o.splitright = true -- vertical splits open to the right
o.colorcolumn = "120" -- column ruler at 120 chars
o.cursorline = true -- highlight current line
-- Go uses real tabs; everything else uses 4-space soft tabs
vim.api.nvim_create_autocmd("FileType", {
pattern = "go",
callback = function()
vim.opt_local.expandtab = false
vim.opt_local.tabstop = 4
vim.opt_local.shiftwidth = 4
end,
})