Skip to content

Commit

Permalink
🔧 (picker): disable fzf-lua
Browse files Browse the repository at this point in the history
use snacks as default
  • Loading branch information
elythh committed Feb 2, 2025
1 parent de60d4f commit 2a618aa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nixvim/plug/fzf-lua/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
plugins = {
fzf-lua = {
enable = true;
enable = false;
profile = "telescope";
settings = {
keymap = {
Expand Down
11 changes: 11 additions & 0 deletions modules/nixvim/plug/snacks/picker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
settings = {
picker = {
actions.__raw = ''require("trouble.sources.snacks").actions'';
matcher = {
frecency = true;
};
win = {
input = {
keys = {
Expand Down Expand Up @@ -160,6 +163,14 @@
desc = "Find files";
};
}
{
mode = "n";
key = "<leader><space>";
action = ''<cmd>lua Snacks.picker.files()<cr>'';
options = {
desc = "Find files";
};
}
{
mode = "n";
key = "<leader>fm";
Expand Down
1 change: 1 addition & 0 deletions packages/snacks-nvim/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ vimUtils.buildVimPlugin {
"snacks.notifier"
"snacks.picker.actions"
"snacks.picker.config.highlights"
"snacks.picker.core.list"
"snacks.picker.util.db"
"snacks.terminal"
"snacks.win"
Expand Down

0 comments on commit 2a618aa

Please sign in to comment.