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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue