21 lines
439 B
Lua
21 lines
439 B
Lua
vim.o.number = true
|
|
vim.o.relativenumber = true
|
|
vim.o.cursorline = true
|
|
vim.o.expandtab = true
|
|
vim.o.wrap = false
|
|
vim.o.undofile = true
|
|
vim.g.mapleader = " "
|
|
vim.o.winborder = "single"
|
|
vim.o.signcolumn = "yes"
|
|
vim.o.foldmethod = "expr"
|
|
vim.o.foldlevel = 99
|
|
vim.o.inccommand = "split"
|
|
vim.o.swapfile=false
|
|
vim.o.updatetime=250
|
|
|
|
vim.api.nvim_create_autocmd("TextYankPost", {
|
|
callback = function()
|
|
vim.highlight.on_yank()
|
|
end,
|
|
})
|