mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-01 08:34:41 +02:00
plugins/vimux: init
This commit is contained in:
parent
2d18a77432
commit
31139e0605
3 changed files with 207 additions and 0 deletions
25
plugins/by-name/vimux/default.nix
Normal file
25
plugins/by-name/vimux/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, pkgs, ... }:
|
||||
lib.nixvim.plugins.mkVimPlugin {
|
||||
name = "vimux";
|
||||
globalPrefix = "Vimux";
|
||||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
extraOptions = {
|
||||
tmuxPackage = lib.mkPackageOption pkgs "tmux" {
|
||||
nullable = true;
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraPackages = [ cfg.tmuxPackage ];
|
||||
};
|
||||
|
||||
settingsOptions = import ./settings-options.nix lib;
|
||||
|
||||
settingsExample = {
|
||||
Height = "25";
|
||||
Orientation = "h";
|
||||
UseNearest = 0;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue