29092024
This commit is contained in:
parent
9de3a488a7
commit
dff4d40b46
9 changed files with 79 additions and 104 deletions
|
@ -8,16 +8,19 @@ opt.tabstop = 2
|
|||
opt.shiftwidth = 2
|
||||
opt.softtabstop = 2
|
||||
opt.expandtab = true
|
||||
opt.autoindent = true
|
||||
opt.smartindent = true
|
||||
opt.wrap = false
|
||||
opt.shiftwidth = 2
|
||||
|
||||
-- Search
|
||||
opt.incsearch = true
|
||||
opt.ignorecase = true
|
||||
opt.smartcase = true
|
||||
opt.hlsearch = false
|
||||
opt.hlsearch = true
|
||||
|
||||
-- Appearance
|
||||
opt.title = true
|
||||
opt.number = true
|
||||
opt.relativenumber = false
|
||||
opt.termguicolors = true
|
||||
|
@ -32,9 +35,24 @@ opt.showmode = false
|
|||
-- opt.tabline = '%!v:lua.require("utils").tabline()'
|
||||
opt.conceallevel = 2
|
||||
opt.breakindent = true
|
||||
opt.breakindentopt = "shift:2"
|
||||
|
||||
-- Behaviour
|
||||
vim.opt.wildignore:append({
|
||||
"*/node_modules/*",
|
||||
"*.o",
|
||||
"*.a",
|
||||
"*.class",
|
||||
"*.pyc",
|
||||
"*/.git/*",
|
||||
"*/dist/*",
|
||||
"*/venv/*",
|
||||
"*/__pycache__/*",
|
||||
})
|
||||
opt.splitkeep = "cursor"
|
||||
opt.shell = "zsh"
|
||||
opt.showcmd = true
|
||||
opt.laststatus = 2
|
||||
opt.expandtab = true
|
||||
opt.hidden = true
|
||||
opt.errorbells = false
|
||||
opt.swapfile = false
|
||||
|
@ -46,12 +64,13 @@ opt.splitright = true
|
|||
opt.splitbelow = true
|
||||
opt.autochdir = false
|
||||
opt.iskeyword:append("-")
|
||||
opt.mouse:append("a")
|
||||
opt.mouse = ""
|
||||
opt.clipboard:append("unnamedplus")
|
||||
opt.modifiable = true
|
||||
-- opt.guicursor =
|
||||
-- "n-v-c:block,i-ci-ve:block,r-cr:hor20,o:hor50,a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor,sm:block-blinkwait175-blinkoff150-blinkon175"
|
||||
opt.encoding = "UTF-8"
|
||||
opt.fileencoding = "utf-8"
|
||||
opt.cursorline = false
|
||||
|
||||
-- spell
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue