Replace tmux plugins with tmuxp

This commit is contained in:
coolneng 2019-12-03 01:55:14 +01:00
parent dbdcc791aa
commit 5f9f08adc0
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 53 additions and 22 deletions

View File

@ -47,8 +47,8 @@ xrdb ~/.Xresources &
## Clipboard manager
(sleep 8; parcellite) &
## Tmux plugins
(sleep 9; ~/.tmux/plugins/tpm/bin/update_plugins all) &
## Tmuxp
(sleep 9; tmuxp load ~/.tmuxp/local.yaml) &
## Syncthing
(sleep 10; syncthing -no-browser -home="$HOME/.config/syncthing")

View File

@ -68,25 +68,5 @@ set -g mouse on
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
# Split
# Colorscheme file
source-file ~/.tmux/iceberg.tmux.conf
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Plugin configuration
set -g @resurrect-processes ':all:'
set -g @resurrect-capture-pane-contents 'on'
set -g @continuum-restore 'on'
set -g @continuum-save-interval '15'
set -g @resurrect-strategy-vim 'session'
set -g @sessionist-goto 'M-C'
run '~/.tmux/plugins/tpm/tpm'

51
tmux/.tmuxp/local.yaml Normal file
View File

@ -0,0 +1,51 @@
session_name: local
suppress_history: false
windows:
- window_name: admin
focus: true
layout: even-horizontal
panes:
- su
- su
- window_name: org
layout: even-horizontal
panes:
- null
- shell_command:
- clear
- sleep 2
- clear
- khal calendar
- window_name: canvas
layout: even-horizontal
panes:
- null
- null
- window_name: docs
layout: even-horizontal
panes:
- man zpool
- man ps
- window_name: music
panes:
- ncmpcpp
- window_name: mail
panes:
- neomutt
- window_name: IM
panes:
- shell_command:
- sleep 2
- clear
- weechat
- window_name: stream
panes:
- null