Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Support for User-Defined Command Aliase #3616

Open
gwpl opened this issue Mar 23, 2025 · 0 comments
Open

Enhancement: Support for User-Defined Command Aliase #3616

gwpl opened this issue Mar 23, 2025 · 0 comments

Comments

@gwpl
Copy link

gwpl commented Mar 23, 2025

Description:

Implementing user-defined command aliases would allow users to create personalized shortcuts for frequently used commands, enhancing ergonomics and reducing cognitive load. This feature would enable users to define concise aliases, such as /e for /editor or /m for /model, streamlining their workflow.

Proposed Solution:

  • Alias Configuration: Allow users to define custom aliases in way Aider developers seem most appropriate (probably users will want global settings + repository overwrites, knowing life...).

  • (Sketch/Draft) In-Chat Alias Definition: Enable users to define aliases directly within the chat using a command like /alias. For example:

  /alias e=editor
  /alias m=model

In combination with {...} or /editor may enable to even In-Chat define multi-lien "aliases" ("marcos?") representing multiple commands? (otherwise workaround could be defining aliast to /load /path/to/my/predefined/instructions/file...)

Benefits:

  • Ergonomics and Cognitive Load reduction: Custom aliases would reduce the number of keystrokes required for frequent commands, enabling muscle memory, reducing cognitive load and improving productivity.

  • Personalized Workflow: Users could tailor the command interface to their preferences, creating a more intuitive experience.

Considerations:

  • Conflict Resolution: Establish rules to handle conflicts between user-defined aliases and existing commands.

  • Scope of Aliases: Expectations is that users may want to have global, and project-specific definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant