nix-community.nixvim/tests/test-sources/plugins/utils/smart-splits.nix

34 lines
612 B
Nix
Raw Normal View History

2024-02-14 19:05:01 +08:00
{
empty = {
plugins.smart-splits.enable = true;
};
example = {
plugins.smart-splits = {
enable = true;
settings = {
2024-05-05 19:39:35 +02:00
ignored_filetypes = [
"nofile"
"quickfix"
"prompt"
];
ignored_buftypes = [ "NvimTree" ];
2024-02-14 19:05:01 +08:00
default_amount = 3;
move_cursor_same_row = true;
cursor_follows_swapped_bufs = true;
resize_mode = {
quit_key = "<ESC>";
2024-05-05 19:39:35 +02:00
resize_keys = [
"h"
"j"
"k"
"l"
];
2024-02-14 19:05:01 +08:00
silent = true;
};
};
};
};
}