The simple things I want in a text editor
mortoray.com
mortoray.com
I feel like it's such a useful feature that it should be baked into your operating system's text field widgets from the ground up. It's intuitive enough, too, that regular users could probably grasp it.
[1] As per Sublime Text: http://www.sublimetext.com
While I'm here I'd like to gripe that while there is a third party Atom package which adds support for multiple cursors [2], it has a number of bugs in it which seem to be irresolvable due to some deep architectural issue with Atom. ARGH.
[2] Sublime-Style-Column-Selection is the only package that attempts to do it "properly": https://atom.io/packages/sublime-style-column-selection
That being said, even though I'm more comfortable with Jetbrains' editors, I still tend to edit miscellaneous docs in atom or vim.
regex works great for me in vim
> 1 time pre-processing data
I use regex for this most of the time, and macros if it's more complicated. I think macros are actually quite a bit more powerful than multiple cursors because you can apply the same set of transformations between files (and without needing to match against a particular word or pattern).
In emacs, there's also iedit-mode, which is another way of doing the same sort of things you would do with multiple cursors.
I've never met anyone who codes without a fixed-width font. Has anyone here tried it? What are your experiences?
Proportional fonts are great for reading, but awful for debugging, because character recognition isn't the same process as reading text. Not in my brain, anyway. Typos that I would normally catch before moving on to the next statement went undiscovered until compile time.
It might be workable if you're working exclusively with your own code using tabs for alignment, but that's a luxury not everyone has.
Editors are definitely starting to get there, with colour support coming along, but there's a long way to go.
As I recall, if you handed in a proportional printout your assignment was marked down if marked at all.
With high res screens and beautiful on-screen fonts (on Macs & Suns) it only seemed natural at the time. In my opinion it was the arrival of Linux at home with tiny monitors and low-powered PC (coupled with a slightly macho overemphasis on editing in the command-line and a disdain for GUIs) that took us back to proportional fonts.
Shame.
* Actually, Gofer, Mark Jones's variant. https://en.wikipedia.org/wiki/Gofer_(programming_language)
[1] http://log.liminastudio.com/writing/tutorials/sublime-tunnel...
[2] My personal experience/setup: write in Markdown, export to pretty much every file format using Pandoc (binds nicely with a ST package) and custom Pandoc builds/templates. For instance, I export native Markdown to Tufte Handouts LaTeX-generated PDFs. Love this.
(Not if you run it in a terminal, sure, but why would you want to do that?)
There seems to be a common pathology among computer programmers to hate "superfluous" features in their tools and libraries. I'm not talking about people who are skeptical of potential complexity, but people who dismiss outright solutions that meet their specifications closely because of the extra baggage they don't like. This attitude has spawned a number of cool, lightweight tools, but it's also wasted a lot of time that could have been spent doing something more productive, like memorizing Pokemon.
Like, "Emacs is too big." Yeah? But Firefox isn't?
If the argument is that Emacs supports other things as well, then I have nothing to reply. I find it bizarre that someone would complain about features that they font have to use (as someone else already mentioned in this thread).
1. http://spacemacs.org/ 2. https://www.emacswiki.org/emacs/Evil
MS has built a really great editor for lighter text work. Markdown editing with it is great and language support is getting better each release. Actually most features of it are getting better with each monthly release. I've been very pleasantly surprised with it. It's been gaining a number of begrudging converts at work who use it on their MacBooks as an alternative to Sublime.
This mostly needs compiler/linter/interpreter support. I want it to just work. It should detect the language I'm using, and just search/download/connect everything up so I have my awesome fuzzy autocomplete.
Why is that not a thing?
There are projects like https://github.com/Valloric/YouCompleteMe and other ones for Vim and Emacs, but they are not yet what I want them to be.
In Emacs, usually a language support library (like ensime, ycmd or ggtags) just give you a list of things user can choose from. This list is often passed to a function like completing-read. You choose the implementation for complete-read. Helm is a very good option for fuzzy matching implementation. There are more advanced options like icicles, that let you switch between completion modes (including fuzzy) on the fly.
The editor should be a precise tool.
For example, AceJump for smart navigation can be found in several editors.
https://www.youtube.com/watch?v=UZkpmegySnc
Ideally, we would augment the keyboard with eye-tracking for navigation, Leap Motion hand tracking, and voice programming:
Try visually typing out a sentence on a keyboard by looking at the keys in sequence as a demonstration. Your eyes naturally will want to be imprecise and move away from the points you care about, which will cause you to fight the tendency to saccade, creating both visual disturbances and muscle fatigue.
Eyes are meant for looking, not pointing. :-)
It's still relatively early in development, but it's both no-nonsense minimalistic and crazy customizable.