From ed46f1c5e82709417085b1a3b7708b209c5f4bfe Mon Sep 17 00:00:00 2001 From: ottjk Date: Sat, 30 Dec 2023 19:23:04 -0500 Subject: initial commit --- nvim/lua/options.lua | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 nvim/lua/options.lua (limited to 'nvim/lua/options.lua') diff --git a/nvim/lua/options.lua b/nvim/lua/options.lua new file mode 100644 index 0000000..b555069 --- /dev/null +++ b/nvim/lua/options.lua @@ -0,0 +1,26 @@ +vim.opt.nu = true +vim.opt.relativenumber = true + +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true + +vim.opt.smartindent = true + +vim.opt.wrap = false + +vim.opt.hlsearch = false +vim.opt.incsearch = true + +vim.opt.scrolloff = 8 +vim.opt.signcolumn = "no" +vim.opt.cursorline = true +vim.opt.cursorlineopt = "number" +vim.opt.isfname:append("@-@") + +vim.cmd "set undofile" + +vim.g.mapleader = ' ' + +vim.opt.guifont = "FiraCode:h10" -- cgit v1.3