Lazy Tmux – 使用树形视图懒加载 tmux 会话

1作者: Alchemmist5 个月前
你是否曾打开 tmux,却担心你的数十个会话都在占用内存……或者更糟的是,如果插件出现故障,它们可能会消失? 我多年来一直使用 tmux-resurrect + tmux-continuum。它们“能用”,但: - 会话有时会完全消失 - 有很多会话时,所有内容都会加载到 RAM 中 所以我构建了 Lazy Tmux: https://lazy-tmux.xyz 它将所有会话显示为一棵树——就像它们已经存在一样——但只有在你进入时才会真正加载它们。 - 保持数十个会话而不会占用大量内存 - 快速导航大型会话层次结构 - 延迟加载窗格、命令、shell 和回滚历史记录 它还处于早期阶段,GitHub 上有很多未解决的问题。欢迎提供反馈、想法或贡献:https://github.com/alchemmist/lazy-tmux 如果你曾经为 tmux 会话管理而苦恼,这可能会让你的工作流程顺畅很多。
查看原文
Ever open tmux and dread that your dozens of sessions are all eating memory… or worse, might disappear if a plugin fails?<p>I used tmux-resurrect + tmux-continuum for years. They “work,” but:<p>- Sessions sometimes vanish entirely<p>- With many sessions, everything stays loaded in RAM<p>So I built Lazy Tmux: https:&#x2F;&#x2F;lazy-tmux.xyz<p>It shows all sessions as a tree — like they already exist — but only actually loads them when you enter.<p>- Keep dozens of sessions without bloating memory<p>- Navigate large session hierarchies quickly<p>- Lazy-load panes, commands, shells and scrollback history<p>It’s early, and there are many open issues on GitHub. Feedback, ideas, or contributions are welcome: https:&#x2F;&#x2F;github.com&#x2F;alchemmist&#x2F;lazy-tmux<p>If you’ve ever wrestled with tmux session management, this might make your workflow a lot smoother.