Files
dotfiles/config/nix/tmux.nix

34 lines
775 B
Nix

{ pkgs, ... }:
let
tmux-super-fingers = pkgs.tmuxPlugins.mkTmuxPlugin
{
pluginName = "tmux-super-fingers";
version = "unstable-2023-01-06";
src = pkgs.fetchFromGitHub {
owner = "artemave";
repo = "tmux_super_fingers";
rev = "2c12044984124e74e21a5a87d00f844083e4bdf7";
sha256 = "sha256-cPZCV8xk9QpU49/7H8iGhQYK6JwWjviL29eWabuqruc=";
};
};
in
{
programs.tmux = {
enable = true;
shell = "${pkgs.fish}/bin/fish";
terminal = "tmux-256color";
historyLimit = 100000;
plugins = with pkgs;
[
{
plugin = tmux-super-fingers;
extraConfig = "set -g @super-fingers-key f";
}
tmuxPlugins.better-mouse-mode
];
extraConfig = ''
'';
};
}