first structure
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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
|
||||
|
||||
-- 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 '-'
|
||||
Reference in New Issue
Block a user