Function: eca-workspaces-mode

eca-workspaces-mode is an interactive and natively compiled function defined in eca-workspaces.el.

Signature

(eca-workspaces-mode)

Documentation

Major mode for the ECA workspaces dashboard buffer.

+ eca-workspaces-new-chat
<deletechar> eca-workspaces-delete
<tab> eca-workspaces-toggle-line
? eca-workspaces-menu
A eca-workspaces-tool-call-accept-all
C eca-workspaces-compact-chat
DEL eca-workspaces-delete
N eca-workspaces-next-workspace
P eca-workspaces-previous-workspace
R eca-workspaces-resume
RET eca-workspaces-visit-or-toggle
TAB eca-workspaces-toggle-line
a eca-workspaces-tool-call-accept-next
d eca-workspaces-delete
f eca-workspaces-fork-chat
m eca-workspaces-select-model
n eca-workspaces-next-entry
p eca-workspaces-previous-entry
r eca-workspaces-rename-chat
s eca-workspaces-stop-prompt
v eca-workspaces-select-variant
x eca-workspaces-tool-call-reject-next

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook eca-workspaces-mode-hook, as the final or penultimate step during initialization.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-workspaces.el
(define-derived-mode eca-workspaces-mode special-mode "ECA-Workspaces"
  "Major mode for the ECA workspaces dashboard buffer.

\\{eca-workspaces-mode-map}"
  (setq-local truncate-lines t)
  (setq-local revert-buffer-function
              (lambda (&rest _) (eca-workspaces-refresh)))
  (setq-local header-line-format
              (concat " "
                      (propertize "ECA workspaces" 'face 'bold)
                      "  "
                      (propertize "live"
                                  'face 'eca-workspaces-tree-chat-details-face)))
  (add-hook 'kill-buffer-hook #'eca-workspaces--on-kill nil t))