Skip to content

Sessions

Sessions bring tmux-style workspace management to Attyx. Each session is a self-contained workspace with its own tabs, panes, and layout — managed by a lightweight background daemon.

  1. Create a session — press Ctrl+Shift+N. The session name defaults to your current directory.
  2. Switch sessions — press Ctrl+Shift+S to open the session picker.
  3. Work in multiple sessions, each with its own tabs and layout.
  4. Switch back and forth — your layouts are preserved.

The session picker is a fuzzy-filterable overlay that lists all your sessions — both active and recently closed ones. Active sessions show with , while dead/recently closed sessions appear with so you can tell at a glance which are live and which are available to restore.

Sessions are sorted with the current session first, then other active sessions, then recently closed ones at the bottom.

KeyAction
TypeFilter sessions by name
Up / DownNavigate the list
EnterSwitch to the selected session (or restore a recent one)
Ctrl+RRename the selected session
Ctrl+XKill the selected session (with confirmation)
Ctrl+DSwitch to default session
Ctrl+UClear filter
Ctrl+WDelete word backward
Ctrl+AJump to start of filter
Ctrl+EJump to end of filter
Ctrl+KKill to end of line
EscapeClose the picker
[sessions]
enabled = true

You can also customize the icons used in the session picker:

[sessions]
enabled = true
icon_filter = ">"
icon_session = ""
icon_new = "+"
icon_active = ""
icon_recent = ""
OptionTypeDefaultDescription
enabledbooleanfalseEnable session support
icon_filterstring">"Prompt icon in the filter input
icon_sessionstring""Icon next to session names
icon_newstring"+"Icon for the “new session” entry
icon_activestring"●"Icon for the currently active session
icon_recentstring"○"Icon for inactive sessions

Sessions are managed by a lightweight background daemon that Attyx starts automatically when you create your first session. The daemon holds your session state so that tabs and layouts survive window closes.

If you need to stop the daemon manually — for example to reset all sessions — use the CLI:

Terminal window
attyx kill-daemon

This sends SIGTERM to the daemon process and removes its socket file (~/.config/attyx/sessions.sock). The next time you create a session, a new daemon starts automatically.

You normally don’t need to do this, but for debugging you can start the daemon in the foreground:

Terminal window
attyx daemon
ActionmacOSLinux
New sessionCmd+Shift+NCtrl+Shift+N
Session pickerCmd+Shift+SCtrl+Shift+S

These can be rebound in the [keybindings] table:

[keybindings]
session_new = "ctrl+shift+n"
session_picker = "ctrl+shift+s"