nix-community.nixvim/plugins/utils/smart-splits.nix

32 lines
510 B
Nix
Raw Normal View History

2024-02-14 19:05:01 +08:00
{
config,
lib,
pkgs,
helpers,
...
}:
helpers.neovim-plugin.mkNeovimPlugin config {
name = "smart-splits";
originalName = "smart-splits.nvim";
defaultPackage = pkgs.vimPlugins.smart-splits-nvim;
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
};
}