ajs-nvim/lua/options/default.lua

41 lines
1.0 KiB
Lua
Raw Permalink Normal View History

2024-03-18 13:34:59 +00:00
vim.opt.termguicolors = true
vim.opt.undofile = true
2024-03-14 12:53:38 +00:00
vim.opt.number = true
-- vim.opt.relativenumber = true
vim.opt.mouse = "a"
vim.opt.showmode = true
vim.opt.clipboard = "unnamedplus"
vim.opt.breakindent = true
2024-03-11 13:46:43 +00:00
vim.opt.undofile = true
2024-03-14 12:53:38 +00:00
-- Case-insensitive searching UNLESS \C or capital in search
vim.opt.ignorecase = true
vim.opt.smartcase = true
2024-03-14 13:12:10 +00:00
-- Keep signcolumn on by default
vim.opt.signcolumn = "yes"
2024-03-16 09:26:25 +00:00
-- Decrease update time
vim.opt.updatetime = 250
2024-03-16 09:26:25 +00:00
-- Decrease mapped sequence wait time
-- Displays which-key popup sooner
vim.opt.timeoutlen = 300
-- Configure how new splits should be opened
vim.opt.splitright = true
vim.opt.splitbelow = true
-- Sets how neovim will display certain whitespace in the editor.
vim.opt.list = true
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "" }
-- Preview substitutions live, as you type!
vim.opt.inccommand = "split"
-- Show which line your cursor is on
vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10