mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/lf: init
This commit is contained in:
parent
552dec0e55
commit
8fcd7f1a92
2 changed files with 101 additions and 0 deletions
33
plugins/by-name/lf/default.nix
Normal file
33
plugins/by-name/lf/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "lf";
|
||||
packPathName = "lf.nvim";
|
||||
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.__raw = "vim.fn.float2nr(vim.fn.round(0.75 * vim.o.lines))";
|
||||
width.__raw = "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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue