4 ms·
Are there such equivalents for emacs? What's the best one out there?
by xtacy 15y ago
Are there such equivalents for emacs? What's the best one out there?
- erikcw 15y agoI've been learning emacs and hunting for the same thing. Aside from Viper mode, these two manual pages are the best I've found: http://www.gnu.org/s/libtool/manual/emacs/Expressions.html http://www.gnu.org/s/libtool/manual/emacs/Expressions.html http://www.gnu.org/software/libtool/manual/emacs/Moving-by-Parens.html http://www.gnu.org/software/libtool/manual/emacs/Moving-by-P... It has helped, but I'm still wishing there were more equivalents. This just seems to scratch the surface of what Vim can do in this area. If you find anything else that is helpful for this sort of editing task, please post it here...
- briantrice 15y agoI don't understand. Emacs blows vim away here. Of course, obviously both emacs and vim users are unaware of these symbolic modes. But Emacs modes are designed to have this idea of customizing the word, sentence, paragraph, and symbolic expression per language/syntax. And using the mark and region and operating on them with commands is exactly what's described in this vim article. That said, I didn't know that vim could do these things, either, because the default vim objects are lines, which are hideously crude and turned me off.
- nyellin 15y agoDo not use viper mode. Use evil, a much better emulation layer from the authors of vim-mode and vimpulse. I also recommend evil-surround.
- bostonvaulter2 15y agoOh, that looks really interesting. It looks like it didn't exist last time I was looking.
- agumonkey 15y agoI'm not an emacs guru, but it feels especially sad to see that emacs grammar/syntax aware (emacs does a lot in this department) structures aren't used to provide this kind of operations by default (of course with some elisp-fu it's doable). The combinator orientation of vim commands is just plain cute.