1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-16 23:42:47 +01:00
nixvim/plugins/by-name/lf/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

32 lines
804 B
Nix

{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "lf";
package = "lf-nvim";
description = ''
Lf file manager integration for Neovim
'';
maintainers = [ lib.maintainers.bpeetz ];
settingsExample = {
default_action = "drop";
default_actions = {
"<C-t>" = "tabedit";
"<C-x>" = "split";
"<C-v>" = "vsplit";
"<C-o>" = "tab drop";
};
winblend = 10;
dir = "";
direction = "float";
border = "rounded";
height = lib.nixvim.nestedLiteralLua "vim.fn.float2nr(vim.fn.round(0.75 * vim.o.lines))";
width = lib.nixvim.nestedLiteralLua "vim.fn.float2nr(vim.fn.round(0.75 * vim.o.columns))";
escape_quit = true;
focus_on_open = true;
tmux = false;
default_file_manager = true;
disable_netrw_warning = true;
};
}