Skip to content

Add stage_item/unstage_item to its own key_config #909

@merikan

Description

@merikan

Is your feature request related to a problem? Please describe.
It's not a problem but would be an improvement to avoid misunderstandings

Describe the solution you'd like
I wanted to remap the stage_item/unstage_item to Spacebar instead of Enter, so I changed

enter: ( code: Enter, modifiers: ( bits: 0,),),    

to

enter: ( code: Char(' '), modifiers: ( bits: 0,),),

and it works great.

I have now changed the Enter key to Space but I do not know if it affects any other function that also uses the Enter keybinding.

It would be awesome if we had separate key-bindings for stage_item and unstage_item and they can of course be linked to Enter by default.

Describe alternatives you've considered
I have looked around in the code and can see that Enter is used in several places, so there are probably more places for improvements.

For me, Space is great to toggle on/off, and Enter is a great fit for confirming an operation, but that's just my personal preference. 😉

Thx for an awesome project 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions