40 lines
606 B
Lua
40 lines
606 B
Lua
local opt = vim.opt
|
|
|
|
-- cursor block
|
|
-- opt.guicursor = ""
|
|
|
|
-- line numbers
|
|
opt.relativenumber = true
|
|
opt.number = true
|
|
|
|
-- tabs & indentation
|
|
opt.tabstop = 4
|
|
opt.shiftwidth = 4
|
|
opt.softtabstop = 4
|
|
opt.expandtab = true
|
|
opt.autoindent = true
|
|
|
|
opt.wrap = false
|
|
|
|
-- scroll offset
|
|
vim.opt.scrolloff = 8
|
|
|
|
-- search settings
|
|
opt.smartcase = true
|
|
opt.ignorecase = true
|
|
opt.hlsearch = true
|
|
|
|
-- appearance
|
|
opt.termguicolors = true
|
|
opt.background = 'dark'
|
|
opt.signcolumn = 'yes'
|
|
|
|
-- clipboard
|
|
opt.clipboard:append 'unnamedplus'
|
|
|
|
-- slipt windows
|
|
opt.splitright = true
|
|
opt.splitbelow = true
|
|
|
|
opt.iskeyword:append '-'
|