News for hackers. Stuff that matters.
Re:I Hate My MacBook by em500 on Sunday October 04, 2020 @05:36AM (#24677582)
> Cool and how do I delete the entire word in front of the cursor? On windows thats easy, control + delete.

On macOS it's option+delete.

> On Mac, somehow I never remember how to do it and end up deleting the entire line of text. It's just stupid.

It's stupid that the shortcut on MacOS is different than on Windows and you can't remember it?

> Also, want to delete a file? Yeah that's going to be a different keystroke, the delete is only for text.

AFAIK there is no macOS shortcut to delete a file in Finder. There is a shortcut to move a file to Trash. This is a different action than deleting text (there is no Trash for text), so I think it's fair to use a slightly different shortcut (command-delete).

Re:I Hate My MacBook by fn1 on Sunday October 04, 2020 @05:51AM (#24677649)
> AFAIK there is no macOS shortcut to delete a file in Finder. There is a shortcut to move a file to Trash. This is a different action than deleting text (there is no Trash for text), so I think it's fair to use a slightly different shortcut (command-delete).

There is: Option+Command+Delete.

Re:I Hate My MacBook by em500 on Sunday October 04, 2020 @05:54AM (#24677662)
Thanks, I forgot.

I normally get the shortcuts that I don't remember from the menu bar, but I forgot that holding option shows alternative options.

Re:I Hate My MacBook by fn1 on Sunday October 04, 2020 @06:29AM (#24677813)
There's an app for that:

https://mediaatelier.com/CheatSheet

Re:I Hate My MacBook by em500 on Sunday October 04, 2020 @07:12AM (#24678059)
What I meant was that I forgot that holding option when the Menu is open will show the alternative shortcuts. No need for external cheatsheets or apps.