36 lines
662 B
Lua
36 lines
662 B
Lua
-- Highlight search results
|
|
vim.o.hlsearch = true
|
|
|
|
-- Enable line numbers
|
|
vim.wo.number = true
|
|
vim.wo.relativenumber = true
|
|
|
|
-- Enable mouse mode
|
|
vim.o.mouse = 'a'
|
|
|
|
-- Indentation
|
|
vim.o.tabstop = 4
|
|
vim.o.expandtab = true
|
|
vim.o.shiftwidth = 4
|
|
vim.o.autoindent = true
|
|
vim.o.smartindent = true
|
|
vim.o.smarttab = true
|
|
vim.o.breakindent = true
|
|
vim.o.softtabstop = 4
|
|
|
|
-- Save undo history
|
|
vim.o.undofile = true
|
|
|
|
-- Case-insensitive searching
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
|
|
-- Keep signcolumn on by default
|
|
vim.wo.signcolumn = 'yes'
|
|
|
|
-- Decrease update time
|
|
vim.o.updatetime = 250
|
|
vim.o.timeoutlen = 300
|
|
|
|
vim.o.splitbelow = true
|
|
vim.o.splitright = true
|