12.nixvim/plugins/by-name/smart-splits/default.nix

25 lines
583 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.GaetanLepage ];
settingsExample = {
resize_mode = {
quit_key = "<ESC>";
resize_keys = [
"h"
"j"
"k"
"l"
];
silent = true;
};
ignored_events = [
"BufEnter"
"WinEnter"
];
};
}