Refactor nvim structure

This commit is contained in:
Tobias Reisinger 2023-04-02 20:35:42 +02:00
parent 2c7f22965b
commit 7db3c9c499
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 5 additions and 6 deletions

34
.config/nvim/lua/set.lua Normal file
View file

@ -0,0 +1,34 @@
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 = false
vim.opt.splitbelow = true
vim.opt.splitright = true
vim.opt.smartindent = true
vim.opt.wrap = false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.cache/vim/undo"
vim.opt.undofile = true
vim.opt.hlsearch = true
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"