feat: use lazy.nvim

This commit is contained in:
nullchilly 2023-04-11 23:45:26 +07:00
parent 2664b49a62
commit 5c8c442da4
37 changed files with 892 additions and 809 deletions

View file

@ -0,0 +1,36 @@
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.signcolumn = "yes"
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.wrap = true
vim.opt.linebreak = true
vim.opt.breakindent = true
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undofile = true
vim.opt.termguicolors = true
vim.opt.mouse = "a"
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.smartindent = true
vim.opt.scrolloff = 14
vim.api.nvim_create_autocmd("TextYankPost", {
callback = function()
vim.highlight.on_yank()
end,
group = vim.api.nvim_create_augroup("YankHighlight", {}),
pattern = "*",
})