1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-24 09:51:00 +01:00

plugins/fff: init

This commit is contained in:
Gaetan Lepage 2025-10-22 19:20:29 +02:00 committed by Gaétan Lepage
parent ce54d127b7
commit f6d91b87e3
2 changed files with 156 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "fff";
package = "fff-nvim";
description = "A fast fuzzy file finder.";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsExample = {
base_path = lib.nixvim.nestedLiteralLua "vim.fn.getcwd()";
max_results = 100;
layout = {
height = 0.8;
width = 0.8;
preview_position = "right";
};
key_bindings = {
close = [
"<Esc>"
"<C-c>"
];
select_file = "<CR>";
open_split = "<C-s>";
open_vsplit = "<C-v>";
open_tab = "<C-t>";
move_up = [
"<Up>"
"<C-p>"
];
move_down = [
"<Down>"
"<C-n>"
];
};
};
}