From 268cce40329eb3a91665ebe3ce65a0aa7b2c692e Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Sat, 18 Apr 2026 04:29:55 -0500 Subject: initial --- lua/config/options.lua | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 lua/config/options.lua (limited to 'lua/config/options.lua') diff --git a/lua/config/options.lua b/lua/config/options.lua new file mode 100644 index 0000000..47fb6f2 --- /dev/null +++ b/lua/config/options.lua @@ -0,0 +1,40 @@ +local o = vim.o + +vim.o.nu = true +vim.o.relativenumber = true +-- tab and indent opts +vim.o.tabstop = 4 +vim.o.softtabstop = 4 +vim.o.shiftwidth = 4 +vim.o.expandtab = true +-- indents +vim.o.breakindent = true +vim.o.autoindent = true +vim.o.copyindent = true +-- no line wrapping +vim.o.wrap = false +-- minimum num lines to keep around cursor +vim.o.scrolloff = 8 +vim.o.sidescrolloff = 8 +-- search +vim.o.ignorecase = true +vim.o.smartcase = true +-- save + undo +vim.o.swapfile = false +vim.o.backup = false +vim.o.undofile = true +vim.o.hlsearch = false +-- misc +vim.o.mouse = 'a' +vim.o.clipboard = 'unnamedplus' +vim.o.completeopt = 'menuone,noselect,fuzzy' +vim.o.termguicolors = true + +-- leader keys +vim.g.mapleader = " " +vim.g.maplocalleader = "\\" + + + +-- vim.o.updatetime = 250 +-- vim.o.timeoutlen = 300 -- cgit v1.2.3