36 lines
645 B
Lua
36 lines
645 B
Lua
-- local HOME = "C:\\Users\\Nathan"
|
|
local HOME = os.getenv("HOME") or "~"
|
|
|
|
vim.opt.guicursor = ""
|
|
vim.opt.nu = true
|
|
|
|
vim.opt.relativenumber = true
|
|
|
|
vim.opt.paste = true
|
|
vim.opt.tabstop = 2
|
|
vim.opt.shiftwidth = 2
|
|
vim.opt.softtabstop = 2
|
|
vim.opt.expandtab = false
|
|
|
|
vim.opt.smartindent = true
|
|
|
|
vim.opt.wrap = false
|
|
|
|
vim.opt.swapfile = false
|
|
vim.opt.backup = false
|
|
vim.opt.undodir = 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 = "161"
|