4 ms·
In emacs, at least, every command has a name. Anything you'd like to do can be searched using tab completion and a little guesswork, at first, by typing `alt-x`
by dangerlibrary 10y ago
In emacs, at least, every command has a name. Anything you'd like to do can be searched using tab completion and a little guesswork, at first, by typing `alt-x` followed by the first couple letters of a plausible name for the thing you are trying to do.
It's an extremely clumsy but totally workable way to get around if you only rarely need to edit a text file on a remote server. For example, if you highlight a section of text, you can `alt-x comment-region` and emacs will automatically insert comment markers at the beginning of each line (`uncomment-region` to undo the process). Or `alt-x save-buffer` to save.
The myriad keyboard shortcuts are just aliases for the named commands, so it's a straightforward transition from the clumsy tab-complete workflow to a more efficient one once you know your way around.
- Veen 10y agoAfter a few months using Spacemacs, I moved to neovim, but took the idea of the space leader and "meaningful" mappings with me. I remapped the leader key to space, and created a bunch of sensible mappings: all my Markdown mappings are under <space>m and so on. I left most of the normal mode movements at their defaults, though. It would be cool if someone could do a Spacevim vimrc or plugin.
- jmlucjav 10y agosomeone started a spaceneovim: https://github.com/Tehnix/spaceneovim https://github.com/Tehnix/spaceneovim https://www.reddit.com/r/neovim/comments/539oxk/spaceneovim/ https://www.reddit.com/r/neovim/comments/539oxk/spaceneovim/
- Veen 10y agoNice! I'll give it a spin.
- retromario 10y agoI''m curious, why did you move away from Spacemacs?
- Veen 10y agoIt's heavier than Vim and a fair bit of Emacsy stuff leaks through. It's a great project, but I prefer Vims way of doing things. Also I have a bunch of custom Vim functions for doing stuff like invoice generation and I didn't want to reimplement them in Lisp.