From 3b2163b821f4dbf1003804b9b19fd276dc4bc350 Mon Sep 17 00:00:00 2001 From: tdback Date: Wed, 4 Dec 2024 18:48:24 -0500 Subject: initial commit to new repo --- plugin/options.lua | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 plugin/options.lua (limited to 'plugin/options.lua') diff --git a/plugin/options.lua b/plugin/options.lua new file mode 100644 index 0000000..c349c3a --- /dev/null +++ b/plugin/options.lua @@ -0,0 +1,37 @@ +vim.opt.showcmd = true +vim.opt.scrolloff = 8 +vim.opt.updatetime = 50 + +vim.opt.number = true +vim.opt.relativenumber = true + +vim.opt.shiftwidth = 4 +vim.opt.tabstop = 4 +vim.opt.expandtab = true +vim.opt.smartindent = true + +vim.opt.wrap = false +vim.opt.linebreak = false + +vim.opt.smartcase = true +vim.opt.ignorecase = true +vim.opt.hlsearch = false +vim.opt.incsearch = true + +vim.opt.foldmethod = "syntax" +vim.opt.foldlevel = 99 + +vim.opt.signcolumn = "yes" +vim.opt.colorcolumn = "80" +vim.opt.cursorline = true +vim.opt.cursorlineopt = "number" + +vim.opt.termguicolors = true +vim.opt.isfname:append("@-@") + +vim.opt.swapfile = false +vim.opt.backup = false +vim.opt.undofile = true +vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir" + +vim.opt.mouse = "va" -- cgit v1.2.3