feat: show the effects of substitute etc. live
This commit is contained in:
parent
a3a651cd7e
commit
7952b2bf93
1 changed files with 6 additions and 5 deletions
|
|
@ -4,8 +4,12 @@ vim.opt.hlsearch = true
|
||||||
-- Incremental search, helps to find 'regex' for search
|
-- Incremental search, helps to find 'regex' for search
|
||||||
vim.opt.incsearch = true
|
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
|
vim.opt.ignorecase = true
|
||||||
|
|
||||||
-- If given an uppercase, only display results with uppercase
|
-- If given an uppercase, only display results with uppercase
|
||||||
vim.opt.smartcase = true
|
vim.opt.smartcase = true
|
||||||
|
|
||||||
|
|
@ -46,14 +50,11 @@ vim.opt.wrap = false
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
vim.opt.background = "dark" -- light, dark
|
vim.opt.background = "dark" -- light, dark
|
||||||
-- Themes:
|
-- Themes:
|
||||||
-- duskfox
|
|
||||||
-- tokyonight-night
|
-- tokyonight-night
|
||||||
-- tokyonight-storm
|
-- tokyonight-storm
|
||||||
-- tokyonight-day
|
-- tokyonight-day
|
||||||
-- tokyonight-moon
|
-- tokyonight-moon
|
||||||
--vim.cmd.colorscheme("tokyonight-storm")
|
vim.cmd.colorscheme("tokyonight-storm")
|
||||||
--vim.cmd.colorscheme("catppuccin-macchiato")
|
|
||||||
vim.cmd.colorscheme("kanagawa")
|
|
||||||
|
|
||||||
-- Decrease update time
|
-- Decrease update time
|
||||||
vim.opt.updatetime = 250
|
vim.opt.updatetime = 250
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue