Skip to content

[macOS] Both Ctrl keys are interpreted as RCtrl, making the LCtrl bindings impossible to use #2761

@ilyagr

Description

@ilyagr

Update: As explained below, #2761 (comment), in the wxWidgets UI, Ctrl is mapped to RCtrl and Cmd is mapped to LCtrl. Mac keyboards do not have a right Ctrl key. Unfortunately, this mapping does not seem to be documented except in the source code, nor does it exist when using the Kitty keyboard protocol UI.


I'm using far2l 2.6.3-beta installed from nixpkgs in the fully-graphical mode on ARM Mac OS. Update: I also tried far2l 2.6.5-beta from Homebrew, it behaves the same.

I'd like to be able to change the display mode of the left/right panel with a binding. Unfortunately, the bindings for this (LCtrl+1, LCtrl+2, ...) do not work.

(I'm also not sure whether the commands for the right pane are meant to use RCtrl or LCtrl. They are labeled with LCtrl for me, which might be intended or a bug)

I tried to record a macro, and I can assign Ctrl-1 and similar keybindings to a macro. However, it seems that whichever Ctrl key I use, it's recognized as RCtrl.

I'd be interested in either a fix (I'd love it if these commands could be rebound) or a workaround. E.g., I thought of maybe recording a macro and then trying to edit it so that it does LCtrl+1, but I don't know if that's practical.


Thanks for making far2l! It's a wonderful tool to explore and modify archives on MacOS. Also, it evokes lots of pleasant nostalgia; I learned it around the turn of the century, don't use Windows anymore, haven't used it for more than a decade, but the keybindings still feel natural and familiar once I ran it again. I could never get used to Midnight Commander.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions