feat: replace fzf-lua with snacks.picker
This commit is contained in:
parent
4d46c4bcbe
commit
49890805b0
4 changed files with 13 additions and 16 deletions
|
|
@ -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";}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue