2024-02-14 19:05:01 +08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
helpers,
|
|
|
|
...
|
|
|
|
}:
|
2024-12-22 09:58:27 +00:00
|
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
2024-02-14 19:05:01 +08:00
|
|
|
name = "smart-splits";
|
2024-12-13 08:27:14 -06:00
|
|
|
packPathName = "smart-splits.nvim";
|
2024-09-02 14:05:11 +01:00
|
|
|
package = "smart-splits-nvim";
|
2025-06-18 02:42:47 +03:00
|
|
|
description = "Smarter and more intuitive split pane management that uses a mental model of left/right/up/down instead of wider/narrower/taller/shorter for resizing splits.";
|
2024-02-14 19:05:01 +08:00
|
|
|
|
2024-05-05 19:39:35 +02:00
|
|
|
maintainers = [ lib.maintainers.foo-dogsquared ];
|
2024-02-14 19:05:01 +08:00
|
|
|
|
|
|
|
settingsExample = {
|
|
|
|
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;
|
|
|
|
};
|
2024-05-05 19:39:35 +02:00
|
|
|
ignored_events = [
|
|
|
|
"BufEnter"
|
|
|
|
"WinEnter"
|
|
|
|
];
|
2024-02-14 19:05:01 +08:00
|
|
|
};
|
|
|
|
}
|