4 ms·
Interesting, I guess it is just an editing preference. Multiple cursors i associate with mouse use (I know it isn't the same but I bet most people use the mouse
by easytiger 12y ago
Interesting, I guess it is just an editing preference. Multiple cursors i associate with mouse use (I know it isn't the same but I bet most people use the mouse with them). I consider touching the mouse dangerous for myself and for productivity.
> Tree View
This i fully understand (and exisits in emacs) but I think not necessary either for my workflow. A treeview does already exist in a format called folders and files ;) I prefer to know the structure of the directories I'm working in and rarely require a reference to them visually
> Split window with synchronized views when showing the same file
I do too and this is a very basic emacs feature
> Regex
Emacs has a massive number of regex and non regex search options. Though usually i simply use Ctrl-Z; grep; fg, which is less efficient but fits my mental model better.
But ctrl-h a <regex> has ~ 34 commands on my machine. Including things like dired-do-isearch-regexp
> Multicursors at each line for a selection
No idea what this means sadly!
> Auto-update of views when file underneath changes (editor should ask what to do in case of edits)
I doubt any editor handles this stuff as well as emacs and is invoked in my environments daily.
Apart from multicursor stuff (that i do not see the point of for my workflow) everything you mention is a very very old basic emacs feature.
- m_mueller 12y agoMulticursors are one of these things that you don't understand the use for, until you start using them, at which point you can never go back. In order to understand what they do, just have a look at all six gifs on this page: http://www.sublimetext.com/ http://www.sublimetext.com/. And sorry, but if you don't know about multicursors, I'm not sure whether you get what I mean with "Regex search over file or selection, results can be turned into multicursors". Just have a look at the animations in above URL. Can emacs do that without turning this into a big modding project?
- judk 12y agoSo multicursor is an unhygenic version of semantic rename (refactoring)? Ew.
- FichteFoll 12y agoNo, multicursors are way more powerful because you don't have to rename something in order to use them. The second animation on http://www.sublimetext.com/ http://www.sublimetext.com/ is a use case that has occured several times to me alone, and there are more (e.g. indenting only specific lines, aligning code).
- xorcist 12y agoHere's a datapoint against it. I forced myself to use multicursors for a while but I don't see the point at all. It's a more clumsy way to do replacements.
- unhammer 12y agogif1: It seems the multiple-cursors package does this, though I don't quite see the point when you have regex-replace. gif2: I typically do this kind of stuff with CUA-rectangles: http://trey-jackson.blogspot.no/2008/10/emacs-tip-26-cua-mode-specifically.html http://trey-jackson.blogspot.no/2008/10/emacs-tip-26-cua-mod... Looks about the same. gif3: looks like M-x, though there are newer alternatives to M-x like smex that do more fancy matching: http://www.emacswiki.org/emacs/Smex http://www.emacswiki.org/emacs/Smex I feel like I'm faster with plain M-x, though haven't really given smex much of a chance gif4: There's a million packages that do this in various different ways (using recent files, VC-tracked files, bookmarks, Meta-dot with TAGS or parsers to go from symbols to definitions, etc.). I suppose people have different preferences for how to navigate quickly to other files. gif5: M-x occur is built-in. There's also multi-occur to show over several files, or occur-edit to edit directly from the list of hits without going into the file itself, etc. gif6: regex-replace also has been built-in forever, mc/mark-all-in-region-regexp seems to match this UI more closely though. But I'm sure lots of the newer Emacs packages have been inspired by Sublime or TextMate (or vim!) :-)
- m_mueller 12y agoThank you!
- quasi 12y agomulticursors are useful for repeated patterns of text which need simultaneous /editing/. The regex-replace-all is not good enough apparently. Mostly HTML or siblings I would guess (I really hope not code!!). This is mostly /visual/ editing. I have used them and I dont think they are the bees' knees. I dont use mouse much while editing.