News for hackers. Stuff that matters.
Re:A vi-centric family tree of editors (2000) by lukeschlather on Sunday November 27, 2016 @08:43PM (#13052850)
Not really. I'm an Emacs partisan, but my Emacs takes at least 3 seconds to load (often 4 or even a little more), while vim is instant.

It is faster than Google Docs or MS Office, but the lag is noticeable.

Re:A vi-centric family tree of editors (2000) by kazinator on Sunday November 27, 2016 @10:58PM (#13053310)
Vim is not instant. Moreover, it has annoying TTY handling behaviors; it flushes the TTY when starting.

So if I type

   $ vim file
and start entering editing commands, often I do it so fast that some of the characters get cut off, like the leading colon of an ex command or what have you.

There is no good reason for this. It will not happen with any reasonable command line utility.

I reported this to the Vim mailing list not long ago and was basically brushed off.

Re:A vi-centric family tree of editors (2000) by JdeBP on Monday November 28, 2016 @10:23AM (#13055940)
I read https://groups.google.com/d/msg/vim_use/XX6SoxHAzhI/vuyIx71G... and it doesn't look like a brush-off to me.

What's missing is the statement that this is how things work when one is relying upon terminals to respond to special control sequences with strings denoting their capabilities. In theory one could save up and re-process the input characters that arrive before the DECDSR response. In practice, people throw them away.

Did you try it on a non-xterm terminal type, as was suggested?

Re:A vi-centric family tree of editors (2000) by aktau on Monday November 28, 2016 @04:53AM (#13054435)
Have you reported it to the Neovim devs? It stands a better chance of being included there (IMHO) and from there it's possible that it trickles up (like the async features in Vim 8).
Re:A vi-centric family tree of editors (2000) by weaksauce on Monday November 28, 2016 @01:10AM (#13053724)
I love vim but recently started using Emacs with spacemacs and it takes a long time to load. Vim is basically instantaneous and Emacs is like molasses.
Re:A vi-centric family tree of editors (2000) by barrkel on Monday November 28, 2016 @04:46AM (#13054407)
(emacs-init-time) "0.2 seconds"

Use autoloads everywhere. Put all per-package configuration in lambdas executed on hooks, or eval-after-load. Lazy-load Helm by mapping M-x to helm-M-x etc. - small ad-hoc edits probably don't even need Helm.

I still use emacs --daemon / emacsclient (aliased to 'e'), but I keep my $EDITOR set to emacs. There's no good reason to have a long wait for startup.

Re:A vi-centric family tree of editors (2000) by grigjd3 on Sunday November 27, 2016 @09:00PM (#13052897)
Well I certainly don't dig into the depths of what I can make emacs do (and hence load) but I find it opens seemingly instantly for me unless I am doing something like using the window mode on a VM that mimics a video card.
Re:A vi-centric family tree of editors (2000) by aoeuhtns on Sunday November 27, 2016 @09:13PM (#13052949)
Re:A vi-centric family tree of editors (2000) by techdragon on Sunday November 27, 2016 @09:46PM (#13053056)
I should not need to run a background daemon for my text editor to load quickly.
Re:A vi-centric family tree of editors (2000) by Tenobrus on Sunday November 27, 2016 @10:46PM (#13053275)
True, but it's pretty reasonable for your nested OS to take a while.
Re:A vi-centric family tree of editors (2000) by JdeBP on Monday November 28, 2016 @11:07AM (#13056261)
Enjoy, then, the need to run a whole bunch of background daemons in order for some "small and lightweight" text editors to run at all. (-:

* https://news.ycombinator.com/item?id=13056252

Re:A vi-centric family tree of editors (2000) by zeveb on Monday November 28, 2016 @01:03PM (#13057168)
emacsclient is even more instant than vi, in my experience.