34 lines
765 B
Lua
34 lines
765 B
Lua
-- [[ Setting options ]]
|
|
-- See `:help vim.o`
|
|
|
|
vim.o.number = true
|
|
vim.o.relativenumber = true
|
|
vim.o.mouse = 'a'
|
|
vim.o.showmode = false
|
|
vim.o.completeopt = 'menuone,noinsert,noselect'
|
|
|
|
vim.schedule(function()
|
|
vim.o.clipboard = 'unnamedplus'
|
|
end)
|
|
|
|
vim.o.breakindent = true
|
|
vim.o.wrap = true
|
|
vim.o.linebreak = true
|
|
vim.o.undofile = true
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
vim.o.signcolumn = 'yes'
|
|
vim.o.updatetime = 250
|
|
vim.o.timeoutlen = 300
|
|
vim.o.splitright = true
|
|
vim.o.splitbelow = true
|
|
vim.opt.cmdheight = 0
|
|
|
|
vim.o.list = true
|
|
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
|
|
|
vim.o.inccommand = 'split'
|
|
vim.o.cursorline = true
|
|
vim.o.scrolloff = 10
|
|
vim.o.confirm = true
|
|
vim.opt.termguicolors = true
|