Hacker News new | ask | show | jobs
by jmclnx 116 days ago
If by vi you mean vim, then I agree, real vi is rather lite.

As someone famous said, "everything is relative" :) Compared to the new applications that have been coming out, Emacs and vim are a paragon of lightness.

2 comments

I agree with you that vi is lighter than vim. I’ve seen more than a few instances of an OS just aliasing vi to vim.

On that note, why are the keybindings for vi on a “modern” Ubuntu different from fedoras? I remember having to mess with ^H in a vimrc or something to that effect to mimic the behavior I was expecting.

Sounds like the terminal (not vi) you're using has different defaults; backspace and delete are the two common keys that vary.
That makes a lot of sense. I'll do some research on different terminal behaviors. Thanks!
Vim is heavier, but vi is not at all "lite".
I do not know what you are saying. On NetBSD I see this with vi and vim editing the same file

      VSZ   RSS MAXRSS COMMAND
    13240  2896   2896 /usr/bin/vi x.txt
    45412 15212  15212 /usr/pkg/bin/vim x.txt