2023-05-19 11:42:43 +02:00
|
|
|
{ pkgs, ... }:
|
2022-12-19 19:30:32 +01:00
|
|
|
{
|
|
|
|
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
|
2023-05-26 00:01:59 +02:00
|
|
|
set -g @dracula-plugins "git time"
|
|
|
|
set -g @dracula-show-left-icon session
|
|
|
|
set -g @dracula-show-powerline true
|
|
|
|
run-shell ${pkgs.tmuxPlugins.dracula}/share/tmux-plugins/dracula/dracula.tmux
|
2022-12-19 19:30:32 +01:00
|
|
|
'';
|
|
|
|
plugins = with pkgs.tmuxPlugins; [
|
2023-01-01 17:31:10 +01:00
|
|
|
tmux-fzf
|
2022-12-19 19:30:32 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|