tigase / beagle-im

(M) XMPP client for macOS based on TigaseSwift XMPP library
GNU General Public License v3.0
181 stars 21 forks source link

[keyboard shortcuts] It's rather jarring that Command+Delete closes windows #125

Closed the-man-machine closed 1 year ago

the-man-machine commented 1 year ago

Is your feature request related to a problem? Please describe. Among MacOS default text editing shortcuts there is Command+Delete, which kills whole line to the left of the cursor. I use it a lot while chatting, and here in BeagleIM it is repurposed to be the Close Chat shortcut.

Describe the solution you'd like It would be lovely for the app shortcuts not to clash with default OS shortcuts. Perhaps, close individual chats with Command+W and the whole app window with Command+Q (as is tradition)?

Describe alternatives you've considered So far I remind myself to do Command+A to select the whole message and Delete after, but it's still clashing with editing in any other app. I didn't seem to find ways to change app shortcuts in the settings.

hantu85 commented 1 year ago

I think you should be able to override this shortcut in your case by using https://support.apple.com/guide/mac-help/create-keyboard-shortcuts-for-apps-mchlp2271/mac

Command+Delete is already quite a while being assigned in Beagle to closing chat and I'm not convinced to changing that but I do get your point.

btw. Command+W and Command+Q is already in use for closing window or the app and that would also clash.

the-man-machine commented 1 year ago

Thanks for the suggestion! Indeed, I made up a new shortcut for "Close chat" menu option and Command+Delete now behaves as I expect it. Didn't think to go into System settings for that, but whatever works, works.