Skip to content

Commit ddc0843

Browse files
committed
fix: add keymap for resume fzf search.
1 parent 3a598c1 commit ddc0843

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

lua/keymap/tool.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,15 @@ local mappings = {
173173
:with_noremap()
174174
:with_silent()
175175
:with_desc("tool: Resume last search"),
176+
["n|<leader>fR"] = map_callback(function()
177+
local search_backend = require("core.settings").search_backend
178+
if search_backend == "fzf" then
179+
require("fzf-lua").resume()
180+
end
181+
end)
182+
:with_noremap()
183+
:with_silent()
184+
:with_desc("tool: Resume last search"),
176185

177186
-- Plugin: dap
178187
["n|<F6>"] = map_callback(function()

0 commit comments

Comments
 (0)