This commit is contained in:
hrsh7th
2022-08-20 20:41:36 +09:00
parent db261b4e2b
commit 7e67df513a

View File

@@ -225,7 +225,8 @@ end
misc.redraw = setmetatable({ misc.redraw = setmetatable({
doing = false, doing = false,
force = false, force = false,
termcode = vim.api.nvim_replace_termcodes('<C-r><Esc>', true, true, true), -- We use `<Up><Down>` to redraw the screen. (Previously, We use <C-r><ESC>. it will remove the unmatches search history.)
termcode = vim.api.nvim_replace_termcodes('<Up><Down>', true, true, true),
}, { }, {
__call = function(self, force) __call = function(self, force)
if vim.tbl_contains({ '/', '?' }, vim.fn.getcmdtype()) then if vim.tbl_contains({ '/', '?' }, vim.fn.getcmdtype()) then