mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 12:45:24 +02:00
plugins/smart-splits: init
This commit is contained in:
parent
bb9d56087d
commit
8bb460e261
3 changed files with 48 additions and 0 deletions
23
plugins/utils/smart-splits.nix
Normal file
23
plugins/utils/smart-splits.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
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"];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue