Updated tmux plugin

This commit is contained in:
Craige McWhirter 2020-12-31 12:07:53 +10:00
parent 2f7316f44f
commit a629e5d02b
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -15,6 +15,10 @@
run-shell "/run/current-system/sw/bin/powerline-daemon -q" run-shell "/run/current-system/sw/bin/powerline-daemon -q"
source /run/current-system/sw/share/tmux/powerline.conf source /run/current-system/sw/share/tmux/powerline.conf
# Plugins
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Bind home and end keys: # Bind home and end keys:
bind-key -n Home send Escape "OH" bind-key -n Home send Escape "OH"
bind-key -n End send Escape "OF" bind-key -n End send Escape "OF"
@ -69,14 +73,17 @@
set-window-option -g window-status-format "#[fg=colour237,bg=colour239,noitalics]#[fg=colour223,bg=colour239] #I #[fg=colour223, bg=colour239] #W #[fg=colour239, bg=colour237, noitalics]" set-window-option -g window-status-format "#[fg=colour237,bg=colour239,noitalics]#[fg=colour223,bg=colour239] #I #[fg=colour223, bg=colour239] #W #[fg=colour239, bg=colour237, noitalics]"
''; '';
keyMode = "vi"; keyMode = "vi";
shortcut = "a"; newSession = true;
terminal = "screen-256color"; shortcut = "a";
terminal = "screen-256color";
}; };
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
python36Packages.powerline # Prompt enhancer python36Packages.powerline # Prompt enhancer
tmuxPlugins.resurrect
tmuxPlugins.continuum
]; ];
} }