feat: replace fzf-lua with snacks.picker

This commit is contained in:
antoine 2026-04-18 10:58:25 +02:00
parent 4d46c4bcbe
commit 49890805b0
Signed by: antoine
GPG key ID: 9EB6BAADC51B6133
4 changed files with 13 additions and 16 deletions

View file

@ -5,6 +5,7 @@
input.enable = true;
lazygit.enable = true;
rename.enable = true;
picker.enable = true;
dashboard = {
enable = true;
@ -14,9 +15,9 @@
];
preset.keys = [
{icon = " "; key = "e"; action = ":ene | startinsert"; desc = "New file";}
{icon = " "; key = ",ff"; action = ":FzfLua files"; desc = "Find file";}
{icon = " "; key = ",fo"; action = ":FzfLua oldfiles"; desc = "Recently opened";}
{icon = " "; key = ",fg"; action = ":FzfLua live_grep"; desc = "Find word";}
{icon = " "; key = ",ff"; action = ":lua Snacks.picker.files()"; desc = "Find file";}
{icon = " "; key = ",fo"; action = ":lua Snacks.picker.recent()"; desc = "Recently opened";}
{icon = " "; key = ",fg"; action = ":lua Snacks.picker.grep()"; desc = "Find word";}
{icon = " "; key = ",fp"; action = ":SessionManager load_session"; desc = "Open session";}
{icon = " "; key = "q"; action = ":qa"; desc = "Quit";}
];