Commit 48c7a29
committed
feat(tmux:plugin): add plugin
## what
- add plugin `tmux-resurrect` and `tmux-continuum`
- configure plugin
- create tmux-resurrect session directory if it's not created
- ~/.local/state/tmux/plugins/tmux-resurrect/
- auto restore from the last session automatically
- auto save interval every 5 minutes
## how
- obtained from
- https://itsfoss.gitlab.io/post/how-to-save-and-restore-tmux-environments-across-reboots-in-linux/
- https://github.com/tmux-plugins/tmux-continuum
- https://github.com/tmux-plugins/tmux-continuum
## why
- makes it easy to save the session and restore them
## where
- ./roles/tmux/files/tmux.conf
## usage
- Save session: prefix + Ctrl+s
- Restore session: prefix + Ctrl+r
## commit id, issue or pull request
## notestmux-resurrect and tmux-continuum
1 parent ebb652e commit 48c7a29
1 file changed
+27
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
0 commit comments