diff options
| author | brustybee <bee@4d2.org> | 2026-03-09 17:02:03 +0530 |
|---|---|---|
| committer | brustybee <bee@4d2.org> | 2026-03-09 17:02:03 +0530 |
| commit | 972e5f9c68cc433c5fc26adf92cd25b293a3776a (patch) | |
| tree | c5930854787316181d07854048d9627538017ceb /lua/config/options.lua | |
One shot upload
Diffstat (limited to 'lua/config/options.lua')
| -rw-r--r-- | lua/config/options.lua | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/lua/config/options.lua b/lua/config/options.lua new file mode 100644 index 0000000..c50b859 --- /dev/null +++ b/lua/config/options.lua @@ -0,0 +1,51 @@ +vim.loader.enable() +vim.g.mapleader = " " +vim.g.maplocalleader = " " +vim.o.updatetime = 1500 + +vim.opt.inccommand = "split" + +vim.opt.undofile = false +vim.opt.undodir = vim.fn.expand("~/.local/share/nvim/undo") + +vim.o.termguicolors = true +-- vim.opt.guicursor = "n-v-c-sm:block,ci-ve:ver25,r-cr-o:hor20" +vim.o.showmode = true +vim.o.showcmd = false +vim.o.signcolumn = "yes" +vim.o.cursorline = true +vim.o.cursorlineopt = "number" -- Restricts the highlight ONLY to the number column +vim.o.background = "dark" +vim.o.conceallevel = 2 +vim.o.autoread = true + +vim.o.nu = true +vim.o.relativenumber = true + +vim.o.mouse = "" +vim.o.scrolloff = 21 +vim.g.loaded_netrwPlugin = 1 +vim.g.loaded_netrw = 1 + +vim.o.expandtab = true +vim.o.tabstop = 4 +vim.o.softtabstop = 4 +vim.o.shiftwidth = 4 +vim.o.smartindent = false +vim.o.smarttab = true +vim.o.breakindent = true +vim.o.autoindent = true + +vim.o.wrap = false +vim.o.linebreak = false + +vim.o.hlsearch = true +vim.o.incsearch = true + +vim.o.title = true +vim.o.swapfile = false + +vim.opt.foldlevel = 99 +vim.opt.foldlevelstart = 99 +vim.opt.foldenable = true +vim.o.foldmethod = "expr" |
