2023-09-14 18:15:11 +00:00
|
|
|
vim.opt.nu = true
|
|
|
|
vim.opt.rnu = true
|
|
|
|
|
|
|
|
vim.opt.tabstop = 4
|
|
|
|
vim.opt.softtabstop = 4
|
|
|
|
vim.opt.shiftwidth = 4
|
2023-11-25 22:19:34 +00:00
|
|
|
vim.opt.expandtab = false
|
|
|
|
vim.opt.autoindent = true
|
2023-09-14 18:15:11 +00:00
|
|
|
|
|
|
|
vim.opt.smartindent = true
|
|
|
|
|
|
|
|
vim.opt.wrap = false
|
|
|
|
|
|
|
|
vim.opt.termguicolors = true
|
|
|
|
|
|
|
|
vim.opt.colorcolumn = "80"
|
|
|
|
|
2023-11-25 22:12:53 +00:00
|
|
|
vim.opt.hlsearch = false
|
2023-09-14 18:15:11 +00:00
|
|
|
vim.opt.incsearch = true
|
|
|
|
|
|
|
|
vim.opt.swapfile = false
|
|
|
|
vim.opt.backup = false
|
|
|
|
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
|
|
|
|
vim.opt.undofile = true
|
|
|
|
|
|
|
|
vim.opt.scrolloff = 8
|
|
|
|
vim.opt.signcolumn = "yes"
|
|
|
|
vim.opt.isfname:append("@-@")
|
|
|
|
|
|
|
|
vim.opt.updatetime = 50
|
|
|
|
|
|
|
|
vim.o.mouse = 'a'
|
|
|
|
|
2023-11-25 22:12:53 +00:00
|
|
|
-- both of these options must be true in order to search case-insensitive
|
|
|
|
-- if the search term contains a capital letter, search will be case-sensitive
|
|
|
|
vim.o.ignorecase = true
|
|
|
|
vim.o.smartcase = true
|