Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

can we have a vim vs emacs thread?

Name: Anonymous 2009-11-17 18:37

please?

Name: Anonymous 2009-11-17 18:42

Why would we pit emacs against such an unworthy contender? Instead I propose emacs with emacs bindings vs VIPER mode

Name: Anonymous 2009-11-17 18:56

pico

Name: Anonymous 2009-11-17 19:09

When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!!
Not a "viitor". Not a "emacsitor". Those aren't even WORDS!!!!
ED! ED! ED IS THE STANDARD!!!

Name: Anonymous 2009-11-17 19:26

EMACS:
Eight Megabytes And Constantly Swapping
Escape Meta Alt Control Shift
EMACS Makes Any Computer Slow

Name: Anonymous 2009-11-17 19:32

I tried, /prog/. I tried to like Emacs as I learned Scheme. But I just can't help it. It's bullshit. Emacs is fucking terrible. Vim's where it's at.

Name: Anonymous 2009-11-17 19:35

Stallman is fat and bloated. Therefore logically Emacs would be as well. Bill Joy is thin and not fat and bloated, so logically vi is not fat and bloated.

Name: Anonymous 2009-11-17 19:40

>>7
I like your style.

Name: Anonymous 2009-11-17 19:54

>>5-7
Who let the riff-raff in?

Name: Anonymous 2009-11-17 20:02

Edit Make And Compile, Stupid

Name: Anonymous 2009-11-18 3:18

>>9
Shut up.

Name: Anonymous 2009-11-18 15:05

Sussman uses vim

Name: Anonymous 2009-11-18 15:06

>>1
Let's dont and say we did.

This thread is now about the...
pleasure of being cummed inside

Name: Anonymous 2009-11-18 15:07

emacs aside, anyone who still uses the original vi over vim?

Name: Anonymous 2009-11-18 15:09

>>14
I do. Vim is shit.

Name: Anonymous 2009-11-18 15:10

Emacs honestly is a great OS. It just lacks a decent text editor.

Name: Anonymous 2009-11-18 15:15

>>15
You mean this version http://ex-vi.sourceforge.net/ ? Or are you even more hardcore?

Name: Anonymous 2009-11-18 15:41

>>17
nvi, actually. Mostly I use it because of inertia, as it's already installed and works plenty well enough for me.

Name: Anonymous 2009-11-18 16:12

nano

Name: Anonymous 2009-11-18 16:21

I seriously don't know how 100MB text editor can be written by anyone sane. That's why I moved to vim. Made some emacs bindings, and is quite fine.

Name: Anonymous 2009-11-18 16:22

>>20
4/10

Name: Anonymous 2009-11-18 17:28

>>20
because it is much more than a editor .

i allways used to think vim was useless because emacs has vi bindings builtin, but i guess you have quite a point there.
but i would never switch my beloved emacs for anything else in the world.

such great power

Name: Anonymous 2009-11-18 17:42

Real men use vi, LISPers have to use emacs so cognitive dissonance make them prefer emacs.  It makes sense though because LISP weenies are not real men.

Name: Anonymous 2009-11-18 17:46

>>23
I lol'd
>>22
The only advantage to using vi is (it's form of) modal editing and short commands, adding emacs keybindings to vi would be like using carriage wheels on a car (or a cdr for that matter).
>>20
Amusing hyperbole aside, if I wasn't bothered that it was originally written by a psychopath, why would I even blink at the size?

Name: Anonymous 2009-11-18 18:31

>>24
That isn't hyperbole. If anything, it's an understatement.

The emacs package for my distro (Arch Linux, X11 not installed) would total 149 megabytes upon installation, including the following 32 other packages as dependencies: atk, cairo, compositeproto, damageproto, fixesproto, gnutls, gtk2, hicolor-icon-theme, inputproto, libcroco, libcups, libdatrie, libgsf, librsvg, libtasn1, libthai, libxcomposite, libxcursor, libxdamage, libxfixes, libxi, libxinerama, libxml2, libxpm, libxrandr, libxt, pango, pixman, randrproto, shared-mime-info, xcb-util, and xineramaproto.

On the other hand, vim would consume 29 megabytes after installation and doesn't need any extra dependencies that I don't already have. Note that this is a fairly minimal system, although I do have a few image libraries (libpng, libjpeg, etc.) installed in order to view images on the framebuffer. Emacs (and not vim!) also depends on all of those and more, so 149 megabytes is still a conservative value.

Of course, this is comparing two different applications, and it'd be fairer to look at gvim rather than vim alone, and also to compare a version of emacs that doesn't require x11 packages, so let's do that...

emacs-nox lists alsa-lib as a dependency (wtf), but is otherwise clean; after installation it'd be 80 megabytes. So vim is still the clear winner.

gvim would pull in 30 other packages totaling 94 megabytes. STILL slimmer than the full emacs installation. (For the sake of completeness, those packages are: atk, cairo, compositeproto, damageproto, desktop-file-utils, fixesproto, gnutls, gtk2, inputproto, libcups, libdatrie, libtasn1, libthai, libxcomposite, libxcursor, libxdamage, libxfixes, libxi, libxinerama, libxml2, libxrandr, libxt, pango, pixman, randrproto, shared-mime-info, vim, xcb-util, xineramaproto)

Conclusion: emacs is bigger and fatter than vim, no matter what way you look at it; and citing a size of 100 megabytes for a text editor isn't far off the mark.

Name: Anonymous 2009-11-18 18:46

>>25
vim would consume 29 megabytes after installation and doesn't need any extra dependencies that I don't already have.
Just like TextMate :3

Name: Anonymous 2009-11-18 19:06

>>25
The first part of your conclusion is completely beside the point, no-one is, or indeed ever will be, under the impression that emacs is smaller than vim. I am a little wary of your figures, but as I don't care enough to argue, I will concede that point.

Name: Anonymous 2009-11-18 19:07

>>27
s/that point/the second point/

Name: Anonymous 2009-11-18 19:24

Eventually Mallocs All Computer Storage

Name: Anonymous 2009-11-18 19:32

>>27
Well, if you want to see for yourself, get the Arch Linux setup image, run it in VBox or something, and type pacman -S emacs, pacman -S vim, etc.

Or try building any of them from source and see what packages they require in order to build, if you like doing it that way.

My whole post was researched and written as a rebuttal that a figure of 100 megabytes for emacs was "hyperbole"; that I used vim as a comparison was tangential but interesting and on-topic for this thread nonetheless. In any event, no matter what editor and related toolchain you opt for, you'll eventually find yourself pulling a number of packages as dependencies. It's merely a question of whether those dependencies will be useful to you directly, or merely as a side effect of your working environment.

Name: Anonymous 2009-11-18 21:15

EDIT/TPU

Name: Anonymous 2009-11-18 22:18

Has anyone ever done an edit.com-alike with curses?

Name: Anonymous 2009-11-18 22:28

>>25
libthai
WTF

Name: Anonymous 2009-11-18 22:31

Or try building any of them from source and see what packages they require in order to build, if you like doing it that way.
Who on earth would ever do it that way? Whenever I install from source, I have to ./configure, wait for it to fail, figure out what package it wants, and goto 10. Am I missing the magic command that tells me all the dependency packages a tarball needs to be built?

Name: Anonymous 2009-11-18 23:08

>>34
That statement was intended for the masochistic sorts and/or anarchists who don't believe in package managers.

Name: Anonymous 2009-11-18 23:45

>>35
Needed when packages are just outdated, and it does happen often.

Name: Anonymous 2009-11-19 3:07

>>36
I wish there was an 'Ubuntu Unstable'. I don't want to be frozen to release versions, but I don't want to put up with Debian's foss religious bullshit with my wireless card and nvidia-glx.

Alternatively I wish more people would just make repos for their apps. Ubuntu is the clear winner, so why not just package for it yourself instead of letting some random maintain the package (and fucking it up god knows how)? Someone should really streamline and document the process to make it real easy to host a repo for your app.

Name: Anonymous 2009-11-19 3:17

>>37
You might not have thought about this yet, but most people don't package specifically for Ubanto because they don't want to associate with a bunch of retarded kids thinking they're the Lunix kings.

Name: Anonymous 2009-11-19 3:25

>>37
Ubuntu is the clear winner
*snigger*

But that's beside the point. Packaging for specific distros defeats the point of having distro maintainers. It would be retarded to waste valuable developer time on life-support for distros that patently can't satisfy their users' needs.

Name: Anonymous 2009-11-19 4:30

>>25
┌─[10:27:54]─[~]
└─[#]─> pkgsize vim
Total kilobytes for vim : 18852

CRUX here, much tinier. Also, emacs was… 60? 80? Don't remember exactly, I pkgrm'd it few minutes after building.

Also, on the other machine I've found both packages alredy built, vim is 5,9 MB, emacs 18 MB, both without X and all this shit.

Still, I think both are quite good, it all depends on what you prefer. I was using emacs for a few months, now got back to vim and I must say I felt quite well using both of them. They're not better or worse, it's just the matter of preferences.

Name: Anonymous 2009-11-19 8:14

>>40
I've got 2 TB external on this laptop.

Name: Anonymous 2009-11-19 14:01

Name: Anonymous 2009-11-19 14:19

>>42
Copy is M-w, what an idiot

Name: Anonymous 2009-11-19 15:44

>>43
any program that doesn't use ctrl+c for copy fucking sucks why would they change the standard?

Name: Anonymous 2009-11-19 15:59

any program that doesn't use ⌘C for copy fucking sucks why would they change the standard?

Name: Anonymous 2009-11-19 16:10

any program that doesn't use left-button drag for copy fucking sucks why would they change the standard?

Name: Anonymous 2009-11-19 19:03

>>42
I tried Emacs and felt violated afterwards. Never looked at it again.

Name: Anonymous 2009-11-19 19:12

i like how vim handles x11's clipboard hell

"+p to paste the ctrl+c clipboard
"*p to paste the selection keyboard


dunno how emacs does it, but vim's registers are awesome

Name: Anonymous 2009-11-19 19:18

>>49
s/keyboard/clipboard/

Name: Anonymous 2009-11-19 20:25

>>49
Don't forget "~p.

Name: Anonymous 2009-11-19 20:43

>>51
vim has a lot of registers (clipboards) in which you can put text. you select one with " followed by the name of the register. so e.g. "a would select that a register which you can then paste with p. some registers can only be read from, some (lots) are filled automatically.

http://vimdoc.sourceforge.net/htmldoc/change.html#registers

read this and receive a little satori

Name: Anonymous 2009-11-19 20:44

>>52
what does that do again?

Name: Anonymous 2009-11-19 20:47

>>51
You have to multiply " and p

Name: Anonymous 2010-11-26 11:28

Name: Anonymous 2011-02-03 5:50


Don't change these.
Name: Email:
Entire Thread Thread List