init
This commit is contained in:
commit
b3dba4542f
44 changed files with 1596 additions and 0 deletions
22
home/.config/nvim/lua/options.lua
Normal file
22
home/.config/nvim/lua/options.lua
Normal file
|
@ -0,0 +1,22 @@
|
|||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.number = true
|
||||
vim.opt.encoding = "utf-8"
|
||||
|
||||
vim.opt.list = true
|
||||
vim.opt.listchars = {
|
||||
eol = '¬',
|
||||
tab = '>·',
|
||||
trail = '~',
|
||||
extends = '>',
|
||||
precedes = '<',
|
||||
space = '␣',
|
||||
}
|
||||
|
||||
vim.api.nvim_create_autocmd("InsertLeave", {
|
||||
pattern = "*",
|
||||
command = "silent! write"
|
||||
})
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue