add some nvim settings

This commit is contained in:
2024-11-14 20:36:19 -05:00
parent e2099edaa3
commit 8f5620cecd
+9
View File
@@ -2,6 +2,9 @@ vim.cmd "let g:netrw_liststyle = 3"
local opt = vim.opt
-- environment
opt.showmode = false
-- line numbers
opt.number = true
opt.relativenumber = true
@@ -17,6 +20,9 @@ opt.autoindent = true
-- line wrapping
opt.wrap = false
-- keep cursor line centered
opt.scrolloff = 999
-- search
opt.ignorecase = true
opt.smartcase = true
@@ -36,6 +42,9 @@ vim.diagnostic.config {
},
}
-- virtualedit
opt.virtualedit = "block"
-- backspace
opt.backspace = "indent,eol,start"