add tmux-continuum config
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
- starship
|
- starship
|
||||||
- tmux
|
- tmux
|
||||||
- tmux-plugin-manager
|
- tmux-plugin-manager
|
||||||
|
- reattach-to-user-namespace (MacOS)
|
||||||
- python3-libtmux
|
- python3-libtmux
|
||||||
- neovim
|
- neovim
|
||||||
- lua-language-server
|
- lua-language-server
|
||||||
|
|||||||
@@ -87,8 +87,8 @@ set -g @resurrect-capture-pane-contents 'on'
|
|||||||
set -g @resurrect-dir '~/.tmux/resurrect/'
|
set -g @resurrect-dir '~/.tmux/resurrect/'
|
||||||
|
|
||||||
set -g @continuum-save-interval '15'
|
set -g @continuum-save-interval '15'
|
||||||
# set -g @continuum-restore 'on'
|
set -g @continuum-restore 'on'
|
||||||
# set -g @continuum-boot 'on'
|
set -g @continuum-boot 'on'
|
||||||
set -g @dracula-continuum-mode countdown
|
set -g @dracula-continuum-mode countdown
|
||||||
|
|
||||||
### tmux-resurrect
|
### tmux-resurrect
|
||||||
@@ -97,7 +97,15 @@ set -g @resurrect-restore 'R' # prefix + Shift-r - restore
|
|||||||
# for neovim
|
# for neovim
|
||||||
set -g @resurrect-strategy-nvim 'session'
|
set -g @resurrect-strategy-nvim 'session'
|
||||||
|
|
||||||
set -g @continuum-boot-options 'alacritty,fullscreen'
|
# Platform-specific settings
|
||||||
|
if-shell "uname | grep -q Darwin" {
|
||||||
|
# macOS specific settings
|
||||||
|
set -g @continuum-boot-options 'alacritty,fullscreen'
|
||||||
|
set -g default-command "reattach-to-user-namespace -l $SHELL"
|
||||||
|
} {
|
||||||
|
# Linux specific settings
|
||||||
|
set -g @continuum-boot-options 'alacritty,fullscreen'
|
||||||
|
}
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user