branch: elpa/aidermacs commit d353defee3eed8589221ab21c7e17f8e6a494cae Author: Kang Tu <kang...@apple.com> Commit: Kang Tu <kang...@apple.com>
update README, put reset command to first sub-menu --- README.org | 21 ++++----------------- aider.el | 2 +- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/README.org b/README.org index f08664fa67..005711e12d 100644 --- a/README.org +++ b/README.org @@ -10,23 +10,10 @@ To install the Aider package, add the following to your Emacs configuration: (require 'aider) #+END_SRC -* Advantage of aider.el over the command line -1. **Integrated Environment**: Aider.el runs directly within Emacs, allowing for seamless integration with your coding environment. You can edit, run, and test your code without switching contexts. +* Why use aider.el instead of command line? -2. **Real-time Interaction**: Unlike command-line tools, Aider.el provides real-time feedback and suggestions as you type, making it easier to iterate on your code. +- Automatically identify your git repo of current file, and create a new aider session for it. Multiple aider sessions can exist for different git repos. -3. **Context Awareness**: Aider.el has access to the entire buffer and can understand the context of your code, which allows it to provide more relevant suggestions and edits. +- Pop-up menu. No need to remember the command. -4. **Enhanced Editing Capabilities**: With Aider.el, you can leverage Emacs' powerful editing features, such as multiple cursors, macros, and advanced navigation, while also benefiting from AI assistance. - -5. **Customizable Workflows**: You can customize Aider.el to fit your specific workflow and preferences, including keybindings, commands, and integration with other Emacs packages. - -6. **Support for Multiple Languages**: Aider.el can assist with various programming languages, making it a versatile tool for developers working in different environments. - -7. **Built-in Documentation**: Aider.el provides easy access to documentation and help commands directly within Emacs, reducing the need to search for information externally. - -8. **Version Control Integration**: Aider.el can work with your version control system (like Git) directly, allowing you to manage changes and commits without leaving the editor. - -9. **Architect Mode**: Aider.el includes an architect mode that allows for high-level discussions about code design and architecture, providing a more structured approach to coding tasks. - -10. **Community and Support**: Being part of the Emacs ecosystem, Aider.el benefits from a large community of users and contributors, providing support and resources for troubleshooting and enhancements. +- Region based refactor support. You can select a region in file and ask aider to refactor that. diff --git a/aider.el b/aider.el index 39a7ee1d78..7b2843896b 100644 --- a/aider.el +++ b/aider.el @@ -31,6 +31,7 @@ ("a" "Run Aider" aider-run-aider) ("f" "Add Current File" aider-add-current-file) ("z" "Switch to Aider Buffer" aider-switch-to-buffer) + ("s" "Reset Aider" aider-reset) ;; Menu item for reset command ] ["Code change" ("c" "Code Change" aider-code-change) @@ -42,7 +43,6 @@ ("t" "Architect Discussion" aider-architect-discussion) ] ["Other" - ("s" "Reset Aider" aider-reset) ;; Menu item for reset command ("g" "General Command" aider-general-command) ("h" "Help Command" aider-help) ;; Menu item for help command ]