An Emacs interface for Claude Code CLI, providing seamless AI coding assistance within Emacs.
claude-code.el is an Emacs package that provides a native interface to the Claude Code CLI, enabling AI-powered coding assistance directly within the Emacs editor. It allows developers to send code, commands, and files to Claude, receive AI-generated fixes and explanations, and manage multiple AI sessions without leaving their editing environment.
Emacs users who want integrated AI coding assistance, particularly developers who use Claude Code CLI and prefer to stay within their Emacs workflow for code generation, error fixing, and technical discussions.
It offers deep Emacs integration with features like context-aware commands, error fixing at point, multiple instance management, and extensive customization, making AI assistance a seamless part of the Emacs editing experience rather than a separate tool.
Claude Code Emacs integration
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables sending code regions, buffer files, and commands with file/line context directly from Emacs, minimizing context switching as highlighted in the 'Stay in Your Buffer' feature.
Integrates with flycheck/flymake to ask Claude to fix errors at the cursor position, providing instant AI-assisted debugging within the editor.
Supports multiple Claude instances per project with custom naming and selection, allowing separate conversations for different tasks as detailed in the 'Working with Multiple Claude Instances' section.
Offers hooks, desktop notifications, window positioning, and keybinding styles via Emacs Lisp, enabling tailored workflows as shown in the 'Customization' section.
Requires Emacs 30+, Claude Code CLI, terminal backends (eat or vterm), and font configuration, with the README noting dependencies like NonGNU ELPA for eat.
Admits flickering issues and performance trade-offs, necessitating latency adjustments and font fallbacks, as discussed in 'Reducing Flickering' and 'Font Setup' sections.
Tightly coupled with Claude Code CLI, requiring separate installation and updates, which adds maintenance burden and limits control over AI backend changes.