neovim: Show live preview of substitution

This commit is contained in:
Simon Bruder 2022-04-12 17:58:52 +02:00
parent 404f1a44e1
commit 8d55e5093a
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -58,6 +58,7 @@ autocmd BufReadPost * if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~#
-- Search -- Search
opt.ignorecase = true -- ignore case opt.ignorecase = true -- ignore case
opt.inccommand = 'nosplit' -- live preview of substitution
opt.smartcase = true -- but only with all-lowercase searches opt.smartcase = true -- but only with all-lowercase searches
-- Highlight trailing spaces -- Highlight trailing spaces