mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
34 lines
612 B
Nix
34 lines
612 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;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|