mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
32 lines
510 B
Nix
32 lines
510 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
pkgs,
|
||
|
helpers,
|
||
|
...
|
||
|
}:
|
||
|
helpers.neovim-plugin.mkNeovimPlugin config {
|
||
|
name = "smart-splits";
|
||
|
originalName = "smart-splits.nvim";
|
||
|
defaultPackage = pkgs.vimPlugins.smart-splits-nvim;
|
||
|
|
||
|
maintainers = [ lib.maintainers.foo-dogsquared ];
|
||
|
|
||
|
settingsExample = {
|
||
|
resize_mode = {
|
||
|
quit_key = "<ESC>";
|
||
|
resize_keys = [
|
||
|
"h"
|
||
|
"j"
|
||
|
"k"
|
||
|
"l"
|
||
|
];
|
||
|
silent = true;
|
||
|
};
|
||
|
ignored_events = [
|
||
|
"BufEnter"
|
||
|
"WinEnter"
|
||
|
];
|
||
|
};
|
||
|
}
|