Skip to content

About

Enhanced Emacs UI for claude-code.el

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

5 Commits

Folders and files

Repository files navigation

claude-code-extras

Enhanced Emacs UI for claude-code.el β€” same-window display, copy/paste support, dedicated input buffer, and a multi-instance manager dashboard.

Features

claude-code-extras.el

  • Same-window display β€” Claude buffers always open in the current window, no extra splits
  • Copy/Paste in vterm β€” M-w to enter copy-mode / copy region, C-y to 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

claude-code-extras-manager.el

  • Instance dashboard β€” tabulated-list-mode based 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)

Dependencies

Installation

From MELPA (recommended)

(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))

Manual

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))

Keybindings

Claude Buffer (vterm)

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

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)

Manager Dashboard (C-c c L)

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

License

GPL-3.0-or-later

About

Enhanced Emacs UI for claude-code.el

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages