mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-16 23:42:47 +01:00
25 lines
585 B
Nix
25 lines
585 B
Nix
{ lib, ... }:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "smart-splits";
|
|
package = "smart-splits-nvim";
|
|
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.";
|
|
|
|
maintainers = [ lib.maintainers.foo-dogsquared ];
|
|
|
|
settingsExample = {
|
|
resize_mode = {
|
|
quit_key = "<ESC>";
|
|
resize_keys = [
|
|
"h"
|
|
"j"
|
|
"k"
|
|
"l"
|
|
];
|
|
silent = true;
|
|
};
|
|
ignored_events = [
|
|
"BufEnter"
|
|
"WinEnter"
|
|
];
|
|
};
|
|
}
|