nix-community.nixvim/plugins/by-name/zellij/default.nix
Austin Horstman a7012e7864
treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00

37 lines
840 B
Nix

{
lib,
helpers,
...
}:
helpers.neovim-plugin.mkNeovimPlugin {
name = "zellij";
packPathName = "zellij.nvim";
package = "zellij-nvim";
maintainers = [ lib.maintainers.hmajid2301 ];
settingsOptions = {
path = helpers.defaultNullOpts.mkStr "zellij" ''
Path to the zellij binary.
'';
replaceVimWindowNavigationKeybinds = helpers.defaultNullOpts.mkBool false ''
Will set keybinds like `<C-w>h` to left.
'';
vimTmuxNavigatorKeybinds = helpers.defaultNullOpts.mkBool false ''
Will set keybinds like `<C-h>` to left.
'';
debug = helpers.defaultNullOpts.mkBool false ''
Will log things to `/tmp/zellij.nvim`.
'';
};
settingsExample = {
path = "zellij";
replaceVimWindowNavigationKeybinds = true;
vimTmuxNavigatorKeybinds = false;
debug = true;
};
}