mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 09:04:54 +02:00
plugins/muren: init
This commit is contained in:
parent
57068f532d
commit
de2a7944d0
2 changed files with 218 additions and 0 deletions
71
tests/test-sources/plugins/by-name/muren/default.nix
Normal file
71
tests/test-sources/plugins/by-name/muren/default.nix
Normal file
|
@ -0,0 +1,71 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.muren.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.muren = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
create_commands = true;
|
||||
filetype_in_preview = true;
|
||||
two_step = false;
|
||||
all_on_line = true;
|
||||
preview = true;
|
||||
cwd = false;
|
||||
files = "**/*";
|
||||
keys = {
|
||||
close = "q";
|
||||
toggle_side = "<Tab>";
|
||||
toggle_options_focus = "<C-s>";
|
||||
toggle_option_under_cursor = "<CR>";
|
||||
scroll_preview_up = "<Up>";
|
||||
scroll_preview_down = "<Down>";
|
||||
do_replace = "<CR>";
|
||||
do_undo = "<localleader>u";
|
||||
do_redo = "<localleader>r";
|
||||
};
|
||||
patterns_width = 30;
|
||||
patterns_height = 10;
|
||||
options_width = 20;
|
||||
preview_height = 12;
|
||||
anchor = "center";
|
||||
vertical_offset = 0;
|
||||
horizontal_offset = 0;
|
||||
order = [
|
||||
|
||||
"buffer"
|
||||
"dir"
|
||||
"files"
|
||||
"two_step"
|
||||
"all_on_line"
|
||||
"preview"
|
||||
];
|
||||
hl = {
|
||||
options = {
|
||||
on = "@string";
|
||||
off = "@variable.builtin";
|
||||
};
|
||||
preview = {
|
||||
cwd = {
|
||||
path = "Comment";
|
||||
lnum = "Number";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.muren = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
create_commands = true;
|
||||
filetype_in_preview = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue