mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 18:54:30 +02:00
plugins/smart-splits: init
This commit is contained in:
parent
bb9d56087d
commit
8bb460e261
3 changed files with 48 additions and 0 deletions
24
tests/test-sources/plugins/utils/smart-splits.nix
Normal file
24
tests/test-sources/plugins/utils/smart-splits.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue