dotfiles/.config/nvim/lua/hyrik/set.lua

28 lines
479 B
Lua
Raw Normal View History

2023-08-15 23:08:10 +02:00
vim.opt.nu = true
vim.opt.relativenumber = true
2023-08-20 22:41:10 +02:00
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
2023-08-15 23:08:10 +02:00
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.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.scrolloff = 8
vim.opt.signcolumn = "yes"
vim.opt.updatetime = 50
vim.opt.colorcolumn = "80"