44 lines
772 B
Lua
44 lines
772 B
Lua
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
|
|
|
|
-- colorscheme
|
|
vim.cmd.colorscheme('retrobox')
|