Live data from Hacker News

Where Vim Came From

twobithistory.org

31–40 of 265 posts

Re: Where Vim Came From

#31

I don't think I could write an editor with regular expressions from scratch in a week. Especially if you took away the internet and 99% of my CPU and RAM. Fail.

Yet Antirez wrote a cute curses-based editor over a weekend:

http://antirez.com/news/108

True it is missing regular expression-support, but it does have find, and many people (including myself) have forked it to added regexps, lua-scripting, and other advanced features.

Re: Where Vim Came From

#32

> How did Vim become so successful? I recall the early days of RoR crowd were pushing for Vim too. It was hipster in term of adopting new and awesome things and RoR crowd really push some new things. This was when the editors war was still a thing.

One reason I switched from Emacs was because it took longer to launch

Re: Where Vim Came From

#35

Though e-lisp is great and I appreciate the power and regularity of Emacs, Vi(m)'s mode-full, default cmd-mode editing that doesn't require ctrl + meta + esc left_foot_pedal + wink-wink-nudge-nudge... seems so much nicer to me than insert-by-default editing - thank goodness there are vim plugins everywhere. The TRS-80 Level II line editor was very much in the spirit of "em", along with other BASICs of the day. And pe…

I'm always kind of curious about comments like this -- it seems everybody knows you have to play games of Twister and hit twelve control keys simultaneously to do even the most basic things in Emacs. But... I use Emacs. I've been using it for almost twenty years. And I'm struggling to think of anything I use regularly the involves hitting more than two total keys simultaneously (keys pressed in sequence obviously don…

> Do people genuinely run into cases where they frequently have to be hitting 3+ keys simultaneously to use Emacs?

Paredit mode has several useful ones for writing elisp.

- C-M-f, C-M-b, and C-M-u (forward-sexp, back-sexp, and up-sexp)

- C-( and C-) (barf and slurp commands)

- C-M-k (kill-sexp)

M-: (eval-expression in the minibuffer) is also a frequent command for me.

I've overlaid several keys in the number row with Control and Alt, so they are nice to press with my middle and ring fingers (as opposed to pinkies). I've been meaning to write a blog post about this.

Re: Where Vim Came From

#36
post #9

Earlier quoted context omitted.

The default undo binding in emacs (C-_) takes three keys (control, shift, hyphen). I use that quite a bit, but I don't find it burdensome. I also map control to the caps-lock key on my keyboard.

C-/ is also bound to undo. :)

Yeah, I use C-/, not C-_. Had forgotten the latter even existed, really.

Re: Where Vim Came From

#37

Earlier quoted context omitted.

I'm always kind of curious about comments like this -- it seems everybody knows you have to play games of Twister and hit twelve control keys simultaneously to do even the most basic things in Emacs. But... I use Emacs. I've been using it for almost twenty years. And I'm struggling to think of anything I use regularly the involves hitting more than two total keys simultaneously (keys pressed in sequence obviously don…

Default bindings in spacemacs can get pretty long. E.g., the binding for `just-one-space` is `M-m x d `.

That's a sequence, though, right? Like, you aren't expected to hold Meta, m, x, d and SPC down simultaneously, you're pressing M-m, then x, then d, then SPC. Which is no different from some lengthy Vim command sequences.

(and in GNU Emacs, just-one-space binds by default to M-SPC)

Re: Where Vim Came From

#38
> While Emacs certainly still has a following, some people think that the Editor Wars are over and that Vim won.16 The 2018 Stack Overflow Developer Survey suggests that this is true; only 4.1% of respondents used Emacs.

I'm an Emacs user for years now and love the editor. But I'm curious about this claim of its poor popularity. The article refers to a piece from http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruc... which bases its arguments on two surveys from 2013 and 2014.

Does anyone know of a credible way to measure the popularity of Emacs and what the usage trends are in 2018 other than SO?

Re: Where Vim Came From

#39

Earlier quoted context omitted.

If it wasn't clear, it was hyperbole... It's just my personal preference that in general I don't like using modifier keys at all, as I will often mangle things, especially when switching between keyboards. The major factor though is the basic approach -- command by default, insert is sub-function (vi), vs. insert by default, command is sub-function (emacs). (I like to fiddle around and use the j/k or -/enter to move…

You want evil-mode.

Or spacemacs.

Re: Where Vim Came From

#40

> How did Vim become so successful? I recall the early days of RoR crowd were pushing for Vim too. It was hipster in term of adopting new and awesome things and RoR crowd really push some new things. This was when the editors war was still a thing.

One reason I switched from Emacs was because it took longer to launch

I've launched Emacs once in the last 3 weeks (and it's still running). :)
Post reply on HN