3 ms·
> That's cool if you can remember roughly what the command is called. > > [ ... ] > > In a GUI, I'm fairly sure I could find this easily, in emacs it is "go to
by fluffything 6y ago
> That's cool if you can remember roughly what the command is called.
>
> [ ... ]
>
> In a GUI, I'm fairly sure I could find this easily, in emacs it is "go to google" and find out that you want sgml-petty-print or whatever.
I just yank into a new buffer, set it to xml mode, "M-x indent" reveals the command to format xml (indent-region or indent-buffer or something like that), enter, yank it back. Done.
In an editor with a gui, I would just go to "Help -> Search" and do pretty much the same, which would reveal the menu item to click to achieve something. I find emacs ido/helm workflow for this much better. Never need to memorize anything.