News for hackers. Stuff that matters.
Re:Batteries included with Emacs (2020) by epolanski on Thursday November 25, 2021 @05:51PM (#29345777)
To add to this: yes, full blown IDEs have shortcuts but they are hard to explore, counter-intuitive and hard to extend.
Re:Batteries included with Emacs (2020) by spicybright on Thursday November 25, 2021 @10:25PM (#29347258)
I think JetBrains has a great system to it.

cmd+shift+a opens a command palette with every possible command in the IDE. It matches as you type the name of an action, and every action has a keybinding shown to the right (if it exists).

Every relevant button generally has keyboard shortcuts right on them.

And pressing cmd+e opens a list of gui interactions you've made so you can repeat them (things like focusing buffers, clicking on a file in the project file tree, etc.)

Basically, if you know cmd+shift+a, you're golden for learning commands and key shortcuts.

In comparison, emacs/vim are pretty awful. I've done a few tutorials of each and while I could have spent more time learning them, JetBrains makes it stupid easy to start learning the editor.

Re:Batteries included with Emacs (2020) by pville on Friday November 26, 2021 @12:38AM (#29347740)
Alt-x does the very same in Emacs. Every available command with tab completion and with the keyboard shortcut listed. I think showing the shortcut is new.

If you are not familiar what a particular command does you can use C-h f <function-name> to open the help page.

I think Emacs is really easy to learn after you get a handle of the navigation keys. Which you might already be familiar with from shell.

Re:Batteries included with Emacs (2020) by gjvc on Friday November 26, 2021 @12:28AM (#29347700)
shift-shift brings up the same window, albeit with different prompts.
Re:Batteries included with Emacs (2020) by spicybright on Friday November 26, 2021 @11:45AM (#29351764)
Shift shift is go to anywhere with fuzzy matching. But yeah, it's the same window, the command palette is in a tab on that.