This commit is contained in:
Charlotte 🦝 Delenk 2022-01-21 09:22:11 +01:00
parent 1ca932b66f
commit d6522ccca2
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 28 additions and 0 deletions

View file

@ -3,6 +3,7 @@
../programs/zsh.nix
../programs/vim.nix
../programs/mail.nix
../programs/tmux.nix
];
programs = {
zsh = {

27
config/programs/tmux.nix Normal file
View file

@ -0,0 +1,27 @@
{ pkgs, ... }: {
programs.tmux = {
enable = true;
baseIndex = 1;
clock24 = true;
prefix = "C-a";
sensibleOnTop = true;
plugins = with pkgs.tmuxPlugins; [
power-theme
];
extraConfig = ''
set-window-option -g automatic-rename on
set-option -g set-titles on
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind -n S-Left previous-window
bind -n S-Right next-window
set -sg escape-time 0
'';
};
}