nix-community.nixvim/tests/test-sources/plugins/utils/smart-splits.nix
2024-02-28 12:00:25 +01:00

24 lines
510 B
Nix

{
empty = {
plugins.smart-splits.enable = true;
};
example = {
plugins.smart-splits = {
enable = true;
settings = {
ignored_filetypes = ["nofile" "quickfix" "prompt"];
ignored_buftypes = ["NvimTree"];
default_amount = 3;
move_cursor_same_row = true;
cursor_follows_swapped_bufs = true;
resize_mode = {
quit_key = "<ESC>";
resize_keys = ["h" "j" "k" "l"];
silent = true;
};
};
};
};
}