mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-02 21:34:33 +02:00
plugins/lir: init
This commit is contained in:
parent
2fc2132a78
commit
8db6c51762
3 changed files with 207 additions and 0 deletions
49
tests/test-sources/plugins/by-name/lir/default.nix
Normal file
49
tests/test-sources/plugins/by-name/lir/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.lir.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.lir = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
show_hidden_files = false;
|
||||
ignore = [ ];
|
||||
devicons = {
|
||||
enable = false;
|
||||
highlight_dirname = false;
|
||||
};
|
||||
hide_cursor = false;
|
||||
on_init.__raw = "function() end";
|
||||
mappings = { };
|
||||
float = {
|
||||
winblend = 0;
|
||||
curdir_window = {
|
||||
enable = false;
|
||||
highlight_dirname = false;
|
||||
};
|
||||
};
|
||||
get_filters = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.lir = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
show_hidden_files = true;
|
||||
devicons.enable = false;
|
||||
mappings = {
|
||||
"<CR>".__raw = "require'lir.actions'.edit";
|
||||
"-".__raw = "require'lir.actions'.up";
|
||||
"<ESC>".__raw = "require'lir.actions'.quit";
|
||||
"@".__raw = "require'lir.actions'.cd";
|
||||
};
|
||||
hide_cursor = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue