This commit is contained in:
gin
2026-05-25 10:55:43 +08:00
parent b17dec8e44
commit a751b6fb7b
6 changed files with 58 additions and 2 deletions
+40
View File
@@ -0,0 +1,40 @@
local opt = vim.opt
opt.tabstop = 2
opt.shiftwidth = 2
opt.softtabstop = 2
opt.scrolloff = 18
opt.encoding = 'utf-8'
opt.autoindent = true
opt.smartindent = true
opt.wrap = false
opt.number = true
opt.relativenumber = true
opt.wildmenu = true
opt.hlsearch = true
opt.incsearch = true
opt.ignorecase = true
opt.smartcase = true
opt.autochdir = true
opt.cursorline = true
opt.termguicolors = true
opt.splitbelow = true
opt.splitright = true
opt.expandtab = true
opt.visualbell = true
opt.showcmd = true
opt.autoread = true
opt.swapfile = false
opt.mouse = ''
opt.signcolumn = 'yes'
opt.shortmess = 'atI'
opt.updatetime = 100
opt.redrawtime = 1500
opt.timeoutlen = 500
-- folding
opt.foldenable = false
opt.foldlevel = 99