search opt
This commit is contained in:
@@ -78,9 +78,14 @@ vim.opt.mousescroll = 'hor:1,ver:1'
|
||||
vim.opt.mouse = 'a' -- Enable mouse support
|
||||
|
||||
-- Search
|
||||
vim.opt.ignorecase = true
|
||||
vim.opt.smartcase = true -- Override ignorecase if search contains upper case chars
|
||||
vim.opt.inccommand = 'split' -- Live substitution preview
|
||||
vim.opt.ignorecase = true -- Search case-insensitively by default
|
||||
vim.opt.smartcase = true -- Make search case-sensitive if uppercase is used
|
||||
|
||||
vim.opt.incsearch = true -- Show matches live while typing a search
|
||||
vim.opt.hlsearch = true -- Highlight all matches after searching
|
||||
vim.opt.shortmess:remove('S') -- Show search count, e.g. [3/17]
|
||||
|
||||
vim.opt.inccommand = 'split' -- Preview substitutions live in a split
|
||||
vim.opt.completeopt = { 'fuzzy', 'menuone', 'popup', 'noselect' }
|
||||
|
||||
-- Splits
|
||||
|
||||
Reference in New Issue
Block a user