switched to a submodule
This commit is contained in:
commit
fdf977246d
14 changed files with 276 additions and 0 deletions
39
lua/sets.lua
Normal file
39
lua/sets.lua
Normal file
|
@ -0,0 +1,39 @@
|
|||
-- line numbers
|
||||
|
||||
vim.o.number = true
|
||||
vim.o.relativenumber = true
|
||||
|
||||
-- show hidden characters
|
||||
vim.opt.list = true
|
||||
vim.opt.listchars = { tab = '→ ', trail = '·' }
|
||||
|
||||
-- indentation
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.tabstop = 4
|
||||
vim.opt.softtabstop = 4
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.smartindent = true
|
||||
|
||||
-- line wrapping
|
||||
vim.opt.wrap = false
|
||||
|
||||
-- undo history
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
vim.opt.undodir = os.getenv("HOME") .. "/.local/state/nvim/undodir"
|
||||
vim.opt.undofile = true
|
||||
vim.opt.updatetime = 50
|
||||
|
||||
-- end search when exiting
|
||||
vim.opt.hlsearch = false
|
||||
vim.opt.incsearch = true
|
||||
|
||||
-- stuff
|
||||
|
||||
vim.opt.fillchars:append({ eob = ' ' })
|
||||
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
vim.opt.scrolloff = 8
|
||||
|
||||
vim.opt.colorcolumn = "80"
|
Loading…
Add table
Add a link
Reference in a new issue