Enhanced Emacs UI for claude-code.el β same-window display, copy/paste support, dedicated input buffer, and a multi-instance manager dashboard.
- Same-window display β Claude buffers always open in the current window, no extra splits
- Copy/Paste in vterm β
M-wto enter copy-mode / copy region,C-yto paste from kill-ring - Dedicated input buffer β Multi-line editing with history, auto-opens below the Claude window
- Spinner character fix β Replaces Unicode spinner glyphs with
*to avoid font line-height issues
- Instance dashboard β
tabulated-list-modebased panel showing all Claude instances - Activity preview β Shows the last line of terminal output for each instance
- Batch operations β Mark (
d) / unmark (u) / execute (x) for bulk deletion - Auto-refresh β Dashboard updates every 2 seconds (configurable)
- Emacs 29.1+
- vterm β terminal backend
- claude-code.el β base Claude Code integration
(use-package claude-code-extras
:ensure t
:after claude-code
:config
(claude-code-extras-mode 1)
;; Optional: customize settings before enabling the mode
;; (setq claude-code-terminal-backend 'vterm)
;; Bind the manager dashboard
(define-key claude-code-command-map (kbd "L") #'claude-code-extras-manager))Clone this repo and add to your load-path:
(add-to-list 'load-path "/path/to/claude-code-emacs")
(require 'claude-code-extras)
(claude-code-extras-mode 1)
;; Bind the manager to C-c c L
(with-eval-after-load 'claude-code
(define-key claude-code-command-map (kbd "L") #'claude-code-extras-manager))| Key | Action |
|---|---|
M-w |
Enter copy-mode / copy region and exit |
C-y |
Paste from kill-ring |
C-c c i |
Open dedicated input buffer |
| Key | Action |
|---|---|
C-RET |
Send to Claude |
C-up |
Previous history entry |
C-down |
Next history entry |
RET |
Insert newline |
C-r |
Send return to Claude (confirm/continue) |
| Key | Action |
|---|---|
RET / o |
Switch to instance |
c |
Create new instance |
C |
Continue (--continue) |
k |
Kill instance at point |
K |
Kill all instances |
s |
Send command to instance |
d |
Mark for deletion |
u |
Unmark |
x |
Execute marked deletions |
q |
Quit dashboard |
GPL-3.0-or-later