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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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 = {
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;
};
};
};
};
}