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"
@ -70,6 +74,7 @@
''; '';
keyMode = "vi"; keyMode = "vi";
newSession = true;
shortcut = "a"; shortcut = "a";
terminal = "screen-256color"; terminal = "screen-256color";
}; };
@ -77,6 +82,8 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
python36Packages.powerline # Prompt enhancer python36Packages.powerline # Prompt enhancer
tmuxPlugins.resurrect
tmuxPlugins.continuum
]; ];
} }