aider icon indicating copy to clipboard operation
aider copied to clipboard

Allow configuration of alternative key for slash "/"

Open go-run-jump opened this issue 1 year ago • 1 comments

Issue

The forward slash "/" is an essential character in aider's command-line interface. However, it's not easily accessible on several common keyboard layouts that are widely used, including by programmers. It would be beneficial to allow users to configure an alternative, more accessible key for the "/" character when using aider.

Affected Keyboard Layouts (examples):

  • AZERTY (French): Requires Shift + ":" to type "/"
  • QWERTZ (German): Requires Shift + "7" to type "/"

Proposed Solution:

Implement a configuration option in aider that allows users to map an alternative key or key combination to input the "/" character in its command-line interface.

Additional Considerations:

  • The configuration could be done in the config file and/or as a command-line option.
  • The original "/" key could be kept working alongside the alternative key.

Expected Outcome:

Users with non-standard keyboard layouts will be able to use aider more efficiently, improving overall user experience and accessibility.

Version and model info

No response

go-run-jump avatar Aug 01 '24 15:08 go-run-jump

I started working on this. Hope to pr this week.

orangeswim avatar Aug 05 '24 07:08 orangeswim