aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/lemon/set.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/lemon/set.lua')
-rw-r--r--nvim/lua/lemon/set.lua32
1 files changed, 32 insertions, 0 deletions
diff --git a/nvim/lua/lemon/set.lua b/nvim/lua/lemon/set.lua
new file mode 100644
index 0000000..18acbf1
--- /dev/null
+++ b/nvim/lua/lemon/set.lua
@@ -0,0 +1,32 @@
+vim.opt.guicursor = ""
+
+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.swapfile = false
+vim.opt.backup = false
+vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
+vim.opt.undofile = true
+
+vim.opt.hlsearch = false
+vim.opt.incsearch = true
+
+vim.opt.termguicolors = true
+
+vim.opt.scrolloff = 8
+vim.opt.signcolumn = "yes"
+vim.opt.isfname:append("@-@")
+
+vim.opt.updatetime = 50
+
+vim.opt.colorcolumn = "80"
+