Hacker News new | ask | show | jobs
by francisl 2039 days ago
On macOs, it's the same shortcuts as Emacs. Except the `ctrl+x+[other]` uses the command key.

IMO its significantly superior for programming.

It's also the reason there is less key on the keyboard, it's simply more efficient. Plus, you have the benefits of having the same bindings in all the apps. Either it's the terminal, your mail client or your IDE. `cmd+s` or `ctrl+x` or `ctrl+q` or name it, always do the same thing. That can't be said for any other desktop.

I know you can configure Gnome to have emacs keybinds, but it's not the same and many apps break the users configured.

1 comments

> That can't be said for any other desktop.

The vast, vast majority of my Linux and Windows desktop apps share the same core keyboard shortcuts. `Ctrl+S` is always save, `Ctrl+X always cuts and `Ctrl+W` always closes the current window. The terminal is one program that doesn't - but that's fine with me because I don't think of it as just another program - it's more like a wholly different operating system or subsystem. Aside from that, the amount of work I have to do with memorizing extra keyboard shortcuts like `Ctrl+Shift+C` for the terminal is still overall less than what I'd have to do on a Mac.

I can operate the entirety of Windows or XFCE with just a few shortcuts that I've memorized (or not) while macOS will have you using the mouse or memorizing hundreds of distinct shortcuts - one for each separate function. Even something simple like switching windows - on a Mac you have to memorize 2 separate shortcuts - one for switching between programs and another for switching between windows in that program.

Macs also don't have keyboard acceleration via the "Alt key + underlined letter in context menu." They also don't have a dedicated right-click key. These are super useful since I can hit a key to bring up a menu and then hit another key to activate a menu item - no memorization required.

I've never seen anyone operate a Mac with just their keyboard. Anyone I've ever observed on a Mac used the touchpad very heavily with low efficiency.