feat: show the effects of substitute etc. live

This commit is contained in:
Oliver Ladner 2024-07-30 13:44:18 +02:00
commit 7952b2bf93

View file

@ -4,8 +4,12 @@ vim.opt.hlsearch = true
-- Incremental search, helps to find 'regex' for search
vim.opt.incsearch = true
-- Faster search
-- Shows the effects of substitute etc. as you type
vim.opt.inccommand = "split"
-- Case-insensitive search
vim.opt.ignorecase = true
-- If given an uppercase, only display results with uppercase
vim.opt.smartcase = true
@ -46,14 +50,11 @@ vim.opt.wrap = false
vim.opt.termguicolors = true
vim.opt.background = "dark" -- light, dark
-- Themes:
-- duskfox
-- tokyonight-night
-- tokyonight-storm
-- tokyonight-day
-- tokyonight-moon
--vim.cmd.colorscheme("tokyonight-storm")
--vim.cmd.colorscheme("catppuccin-macchiato")
vim.cmd.colorscheme("kanagawa")
vim.cmd.colorscheme("tokyonight-storm")
-- Decrease update time
vim.opt.updatetime = 250