2024-10-27 07:44:47 +00:00
|
|
|
-- local HOME = "C:\\Users\\Nathan"
|
|
|
|
local HOME = os.getenv("HOME") or "~"
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.guicursor = ""
|
|
|
|
vim.opt.nu = true
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.relativenumber = true
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.paste = true
|
|
|
|
vim.opt.tabstop = 2
|
|
|
|
vim.opt.shiftwidth = 2
|
|
|
|
vim.opt.softtabstop = 2
|
|
|
|
vim.opt.expandtab = false
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.smartindent = true
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.wrap = false
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.swapfile = false
|
|
|
|
vim.opt.backup = false
|
|
|
|
vim.opt.undodir = HOME .. "/.vim/undodir"
|
|
|
|
vim.opt.undofile = true
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.hlsearch = false
|
|
|
|
vim.opt.incsearch = true
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.termguicolors = true
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.scrolloff = 8
|
|
|
|
vim.opt.signcolumn = "yes"
|
|
|
|
vim.opt.isfname:append("@-@")
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
vim.opt.updatetime = 50
|
2024-08-11 01:40:33 +01:00
|
|
|
|
2024-10-27 07:44:47 +00:00
|
|
|
-- vim.opt.colorcolumn = "161"
|