Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tools Remote tmux plugins #112

Open
junxnone opened this issue Aug 27, 2019 · 1 comment
Open

Tools Remote tmux plugins #112

junxnone opened this issue Aug 27, 2019 · 1 comment

Comments

@junxnone
Copy link
Owner

junxnone commented Aug 27, 2019

Tmux Plugins

Plugins Description
tpm 管理
tmux-sensible
tmux-resurrect 保存恢复现场
tmux-continuum 保存恢复现场

tpm

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
  • set .tmux.conf
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'

run -b '~/.tmux/plugins/tpm/tpm'
tmux source ~/.tmux.conf

之后新安装的plugins 会放在 ~/.tmux/plugins/

Restore plugins

tmux-resurrect

  • Set .tmux.conf
set -g @plugin 'tmux-plugins/tmux-resurrect'
  • Install : ctrl + b -> shift + i
  • 保存现场 : ctrl + b -> ctrl + s
  • 恢复现场 : ctrl + b -> ctrl + r

tmux-continuum

  • Set .tmux.conf
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'

依赖于 tmux-resurrect

  • Install : ctrl + b -> shift + i
  • 选择要恢复的status
cd ~/.tmux/resurrect/
rm last
ln -s tmux_xxx.txt last

tmux_xxx.txt 为保存的状态

  • 恢复现场 : ctrl + b -> ctrl + r

Reference

@junxnone
Copy link
Owner Author

junxnone commented Jun 3, 2020

junxnone/linuxwiki#29

@junxnone junxnone changed the title tmux - plugins tmux plugins Sep 20, 2021
@junxnone junxnone transferred this issue from junxnone/Linux_archive Sep 20, 2021
@junxnone junxnone changed the title tmux plugins Tools Remote tmux plugins Dec 22, 2022
@junxnone junxnone transferred this issue from junxnone/techwiki Dec 22, 2022
@junxnone junxnone transferred this issue from junxnone/xwiki Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant