FAForever / FAForever/fa

Allow assigning multiple keybinds to the same command

Open
#4,473 4 comments 0 reactions 0 assignees View on GitHub
area: ui
Dominant language
Lua
Stars
264
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
21

Description

**Describe the feature**
Allow assigning multiple keybinds to the same command in the Key Bindings menu. Right now each command must have either one or zero keybinds assigned to it, but there are use cases where more than one would be preferable, similar to how most IDEs implement keybinds.

**Expected behavior and example use case**

For example, if you have select nearest idle engineer on 2 for general use cases:
![Screenshot_11](https://user-images.githubusercontent.com/90977374/205449674-bfee4d22-1530-4102-82f3-48f76ba94b21.png)

this works well if you want to quickly select multiple engies and give a construction orders to them.

If you want to quickly give an attack move order though, you have to press and release alt between each selection, making the process much more error prone. For quickly giving attack move orders, putting the select nearest idle engineer hotkey on alt-2 would be better:
![Screenshot_13](https://user-images.githubusercontent.com/90977374/205449811-2ceae044-ea7b-4584-a63b-471ab2225301.png)

but if you do that you now have to _realease_ alt when you want to quickly give construction orders, making it unnecessarily fiddly.

The best solution would be to allow assigning both 2 and alt-2 to the same hotkey, so that you can use the appropriate keybind when it makes sense, e.g: something like this:
![Multiple_keybinds_feature_request_combined](https://user-images.githubusercontent.com/90977374/205450092-2a4cfece-3e43-4367-9c6a-ceb3976feafa.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.