mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
plugins/filetrees: move to by-name
This commit is contained in:
parent
ad85cd760e
commit
d016b139fc
9 changed files with 0 additions and 5 deletions
142
tests/test-sources/plugins/by-name/chadtree/default.nix
Normal file
142
tests/test-sources/plugins/by-name/chadtree/default.nix
Normal file
|
@ -0,0 +1,142 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.chadtree.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.chadtree = {
|
||||
enable = true;
|
||||
|
||||
options = {
|
||||
follow = true;
|
||||
mimetypes = {
|
||||
warn = [
|
||||
"audio"
|
||||
"font"
|
||||
"image"
|
||||
"video"
|
||||
];
|
||||
allowExts = [ ".ts" ];
|
||||
};
|
||||
pageIncrement = 5;
|
||||
pollingRate = 2.0;
|
||||
session = true;
|
||||
showHidden = false;
|
||||
versionControl = true;
|
||||
ignore = {
|
||||
nameExact = [
|
||||
".DS_Store"
|
||||
".directory"
|
||||
"thumbs.db"
|
||||
".git"
|
||||
];
|
||||
nameGlob = [ ];
|
||||
pathGlob = [ ];
|
||||
};
|
||||
};
|
||||
view = {
|
||||
openDirection = "left";
|
||||
sortBy = [
|
||||
"is_folder"
|
||||
"ext"
|
||||
"file_name"
|
||||
];
|
||||
width = 40;
|
||||
windowOptions = {
|
||||
cursorline = true;
|
||||
number = false;
|
||||
relativenumber = false;
|
||||
signcolumn = "no";
|
||||
winfixwidth = true;
|
||||
wrap = false;
|
||||
};
|
||||
};
|
||||
theme = {
|
||||
highlights = {
|
||||
ignored = "Comment";
|
||||
bookmarks = "Title";
|
||||
quickfix = "Label";
|
||||
versionControl = "Comment";
|
||||
};
|
||||
iconGlyphSet = "devicons";
|
||||
textColourSet = "env";
|
||||
iconColourSet = "github";
|
||||
};
|
||||
keymap = {
|
||||
windowManagement = {
|
||||
quit = [ "q" ];
|
||||
bigger = [
|
||||
"+"
|
||||
"="
|
||||
];
|
||||
smaller = [
|
||||
"-"
|
||||
"_"
|
||||
];
|
||||
refresh = [ "<c-r>" ];
|
||||
};
|
||||
rerooting = {
|
||||
changeDir = [ "b" ];
|
||||
changeFocus = [ "c" ];
|
||||
changeFocusUp = [ "C" ];
|
||||
};
|
||||
openFileFolder = {
|
||||
primary = [ "<enter>" ];
|
||||
secondary = [
|
||||
"<tab>"
|
||||
"<2-leftmouse>"
|
||||
];
|
||||
tertiary = [
|
||||
"<m-enter>"
|
||||
"<middlemouse>"
|
||||
];
|
||||
vSplit = [ "w" ];
|
||||
hSplit = [ "W" ];
|
||||
openSys = [ "o" ];
|
||||
collapse = [ "o" ];
|
||||
};
|
||||
cursor = {
|
||||
refocus = [ "~" ];
|
||||
jumpToCurrent = [ "J" ];
|
||||
stat = [ "K" ];
|
||||
copyName = [ "y" ];
|
||||
copyBasename = [ "Y" ];
|
||||
copyRelname = [ "<c-y>" ];
|
||||
};
|
||||
filtering = {
|
||||
filter = [ "f" ];
|
||||
clearFilter = [ "F" ];
|
||||
};
|
||||
bookmarks = {
|
||||
bookmarkGoto = [ "m" ];
|
||||
};
|
||||
selecting = {
|
||||
select = [ "s" ];
|
||||
clearSelection = [ "S" ];
|
||||
};
|
||||
fileOperations = {
|
||||
new = [ "a" ];
|
||||
link = [ "A" ];
|
||||
rename = [ "r" ];
|
||||
toggleExec = [ "X" ];
|
||||
copy = [ "p" ];
|
||||
cut = [ "x" ];
|
||||
delete = [ "d" ];
|
||||
trash = [ "t" ];
|
||||
};
|
||||
toggles = {
|
||||
toggleHidden = [ "." ];
|
||||
toggleFollow = [ "u" ];
|
||||
toggleVersionControl = [ "i" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
no-packages = {
|
||||
plugins.chadtree = {
|
||||
enable = true;
|
||||
iconsPackage = null;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue