tmux-continuum

Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on.

  • Owner: tmux-plugins/tmux-continuum
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

tmux-continuum

Features:

  • continuous saving of tmux environment
  • automatic tmux start when computer/server is turned on
  • automatic restore when tmux is started

Together these features enable uninterrupted tmux usage. No matter the computer
or server restarts, if the machine is on, tmux will be there how you left it off
the last time it was used.

Tested and working on Linux, OSX and Cygwin.

Continuous saving

Tmux environment will be saved at the interval of 15 minutes. All the saving
happens in the background without the impact to your workflow.

This action starts automatically when the plugin is installed.

Automatic tmux start

Tmux is automatically started after the computer/server is turned on.

See the instructions how to enable this for your
system.

Automatic restore

Last saved environment is automatically restored when tmux is started.

Put set -g @continuum-restore 'on' in .tmux.conf to enable this.

Note: automatic restore happens exclusively on tmux server start. No other
action (e.g. sourcing .tmux.conf) triggers this.

Dependencies

tmux 1.9 or higher, bash,
tmux-resurrect plugin.

Please make sure you have
tmux-resurrect installed.

Add plugin to the list of TPM plugins in .tmux.conf:

set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'

Hit prefix + I to fetch the plugin and source it. The plugin will
automatically start "working" in the background, no action required.

Manual Installation

Please make sure you have
tmux-resurrect installed.

Clone the repo:

$ git clone https://github.com/tmux-plugins/tmux-continuum ~/clone/path

Add this line to the bottom of .tmux.conf:

run-shell ~/clone/path/continuum.tmux

Reload TMUX environment with: $ tmux source-file ~/.tmux.conf

The plugin will automatically start "working" in the background, no action
required.

Docs

Other goodies

  • tmux-copycat - a plugin for
    regex searches in tmux and fast match selection
  • tmux-yank - enables copying
    highlighted text to system clipboard
  • tmux-open - a plugin for quickly
    opening highlighted file or a url

Reporting bugs and contributing

Both contributing and bug reports are welcome. Please check out
contributing guidelines.

License

MIT

Main metrics

Overview
Name With Ownertmux-plugins/tmux-continuum
Primary LanguageShell
Program languageShell (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-02-20 12:42:03
Pushed At2024-08-02 10:44:53
Last Commit At2024-01-20 13:37:57
Release Count6
Last Release Namev3.1.0 (Posted on 2015-03-14 15:56:42)
First Release Namev1.0.0 (Posted on 2015-02-12 16:14:46)
用户参与
Stargazers Count3.6k
Watchers Count25
Fork Count164
Commits Count119
Has Issues Enabled
Issues Count100
Issue Open Count70
Pull Requests Count26
Pull Requests Open Count13
Pull Requests Close Count14
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private