mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
feat: use lazy.nvim
This commit is contained in:
parent
2664b49a62
commit
5c8c442da4
37 changed files with 892 additions and 809 deletions
36
.config/nvim/lua/options.lua
Normal file
36
.config/nvim/lua/options.lua
Normal 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 = "*",
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue