Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Cool and how do I delete the entire word in front of the cursor? On windows thats easy, control + delete. On Mac, somehow I never remember how to do it and end up deleting the entire line of text. It's just stupid.

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

But wait, you'd think that surely you could just remap that little fingerprint key which does absolutely nothing when pressed? Nope, it's unmappable. :-)



> 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).


> 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.


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.


There's an app for that:

https://mediaatelier.com/CheatSheet


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.


> how do I delete the entire word in front of the cursor?

Not at my Mac, but I’d think it’s function+option+delete?

> you could just remap that little fingerprint key which does absolutely nothing when pressed

Doesn’t it put your computer to sleep and shut it down?


Nope, nothing happens when I press it. It acts like a fingerprint sensor when you touch it, but I haven't yet figured out what it does when pressed.


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

I agree that switching hence and forth between the two systems is a bit annoying. I configured AutoHotKey on Windows to get my Mac-shortcuts there. (Command being Alt).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: