From 26254487fb93af3c6efa268d57670e1bccfb05c6 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 10 Jun 2024 17:10:07 +0200 Subject: [PATCH] feat: added toggle for hidden/ignore --- lua/lazyvim/plugins/extras/editor/fzf.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lua/lazyvim/plugins/extras/editor/fzf.lua b/lua/lazyvim/plugins/extras/editor/fzf.lua index 5abb93a2..c06865d7 100644 --- a/lua/lazyvim/plugins/extras/editor/fzf.lua +++ b/lua/lazyvim/plugins/extras/editor/fzf.lua @@ -48,6 +48,18 @@ return { return { [1] = "default-title", fzf_colors = true, + files = { + actions = { + ["alt-i"] = { actions.toggle_ignore }, + ["alt-h"] = { actions.toggle_hidden }, + }, + }, + grep = { + actions = { + ["alt-i"] = { actions.toggle_ignore }, + ["alt-h"] = { actions.toggle_hidden }, + }, + }, } end, keys = {