Comment

Comment by bern4444

You can change what happens when a user hits CMD-w. But CMD-w should still be the trigger.

Everyone expects a very specific thing, make the current thing go away. Its the same reason you likely picked CMD-k as the shortcut to your pop up window. That's what Slack does along with several other applications.

If you want to map this shortcut to your implementation of "going away" that's fine but it should be the same command.

parent bern4444 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton