2022-12-19 19:30:32 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
programs.tmux = {
|
|
|
|
enable = true;
|
|
|
|
keyMode = "vi";
|
|
|
|
terminal = "tmux-256color";
|
|
|
|
clock24 = true;
|
|
|
|
extraConfig =
|
|
|
|
''
|
2023-01-02 18:06:52 +01:00
|
|
|
set -g default-shell ${pkgs.zsh}/bin/zsh
|
2022-12-19 19:30:32 +01:00
|
|
|
bind P display-popup
|
2023-04-28 16:53:51 +02:00
|
|
|
set -sg escape-time 10
|
2022-12-19 19:30:32 +01:00
|
|
|
'';
|
|
|
|
plugins = with pkgs.tmuxPlugins; [
|
|
|
|
{
|
|
|
|
plugin = dracula;
|
|
|
|
extraConfig = ''
|
2023-04-24 15:15:01 +02:00
|
|
|
set -g @dracula-plugins "git time"
|
2022-12-19 19:30:32 +01:00
|
|
|
set -g @dracula-show-left-icon session
|
|
|
|
set -g @dracula-show-powerline true
|
|
|
|
'';
|
|
|
|
}
|
2023-01-01 17:31:10 +01:00
|
|
|
tmux-fzf
|
2022-12-19 19:30:32 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|