coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.46k stars 431 forks source link

Shortcut keys to operate Folder Navigation #1698

Closed tatsy-ymj closed 2 months ago

tatsy-ymj commented 2 months ago

Current issue

It is not possible to move the focus to the Folder Navigation, move between files, and then move the focus back to the main window again using only the keyboard.

The solution you'd like

I'd like to set keyboard shortcuts for Folder Navigation operations. It would be more convenient to be able to use shortcuts such as Command+1 or Command+2 to directly access files listed in the Folder Navigation. I'd like to use this feature to quickly switch between multiple files for notebooks.

Alternatives you've considered

No response

CotEditor version

5.0.0-beta.2 (663)

macOS version

14.6.1(23G93)

Additional context

No response

1024jp commented 2 months ago

Implemented in v5.0.0-beta.3. (Used Control+Command+1 for the shortcut keys since Command+19 are already used to switch window tabs.)

Screenshot 2024-09-08 at 13 12 20
tatsy-ymj commented 1 month ago

@1024jp Thank you for Control+Command+1! How about shortcut keys for Folder Navigation -> Main Windows? If CotEditor had this shortcut key, I could go back and forth between multiple files and edit them using only keyboard.

1024jp commented 1 month ago

How about shortcut keys for Folder Navigation -> Main Windows?

Not yet implemented. I'm just struggling with naming and shortcut key mapping...