Modify some native vim options and update lockfile for added plugins
This commit is contained in:
parent
45372585f8
commit
38ba2960b4
2 changed files with 25 additions and 3 deletions
|
|
@ -34,5 +34,7 @@
|
|||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "e9c5aaba16fead831379d5f44617547a90b913c7" },
|
||||
"snacks.nvim": { "branch": "main", "commit": "bc0630e43be5699bb94dadc302c0d21615421d93" },
|
||||
"vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" }
|
||||
"tiny-glimmer.nvim": { "branch": "main", "commit": "70234ad3d193a187c81cb16007100b790c9801fc" },
|
||||
"vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" },
|
||||
"visual-whitespace.nvim": { "branch": "main", "commit": "99898e2c26d06c9109820236228c7ce6df86e51c" }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,12 +8,14 @@ opt.clipboard = "unnamedplus"
|
|||
|
||||
-- Highlight the currently selected row
|
||||
opt.cursorline = true
|
||||
opt.cursorlineopt = "both"
|
||||
opt.cursorlineopt = "number"
|
||||
|
||||
-- Indenting
|
||||
opt.expandtab = true
|
||||
opt.smartindent = true
|
||||
opt.cindent = true
|
||||
-- opt.smartindent = true
|
||||
opt.breakindent = true
|
||||
opt.breakindentopt = "list:-1"
|
||||
opt.shiftwidth = 4
|
||||
opt.tabstop = 4
|
||||
opt.softtabstop = 4
|
||||
|
|
@ -75,4 +77,22 @@ opt.sessionoptions = { "buffers", "curdir", "winsize", "winpos", "skiprtp" }
|
|||
-- See comment in lspsetup autocmd for LspAttach
|
||||
-- opt.completeopt = "menu,menuone,noselect,fuzzy"
|
||||
|
||||
opt.fileignorecase = true
|
||||
|
||||
-- This always keeps the windows equal in size
|
||||
opt.equalalways = true
|
||||
|
||||
opt.linebreak = true
|
||||
opt.ruler = false
|
||||
opt.shiftround = true
|
||||
|
||||
-- Faster draw
|
||||
opt.redrawtime = 150
|
||||
|
||||
-- Disable lots of unnecessary warning notifications
|
||||
opt.shortmess = "acstFOSW"
|
||||
|
||||
-- Allows to select one more after EOL
|
||||
opt.virtualedit = "onemore"
|
||||
|
||||
return opt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue