Replace telescope and trouble with fzf-lua
This commit is contained in:
parent
18154472aa
commit
51c171c8dc
4 changed files with 21 additions and 47 deletions
19
common/home-manager/nixvim/fzf-lua.nix
Normal file
19
common/home-manager/nixvim/fzf-lua.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [ ripgrep ];
|
||||
programs.nixvim.plugins.fzf-lua = {
|
||||
enable = true;
|
||||
keymaps = {
|
||||
"<leader>ff" = "files";
|
||||
"<leader>fg" = "live_grep";
|
||||
"<leader>bb" = "buffers";
|
||||
"<leader>dg" = {
|
||||
action = "diagnostics_document";
|
||||
settings = {
|
||||
previewer = "none";
|
||||
diag_icons = ''{"","","",""}'';
|
||||
multiline = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue