Lurker News
Back to discussion

Comment by mgr86

mgr863 replies#
It's been awhile since a fresh install but is it ViM. is Vi still around? I just seem to recall some things not working right. Such as not being able to ZZ or ZQ out of a file.
Gonzih1 reply#
vi is built-in in arch installation. so...
valarauca11 reply#
Vi is everywhere. Its part of the POSIX standard and comes out of the box (in one flavor or another) with every Linux Distro, OSX, HP-UX, AIX, Solaris, Darwin, FreeBSD, OpenBSD, and DragonFlyBSD.

ViM is just Vi iMproved. They share most their keybinds but VIM has the whole plugin architecture thing.
This is a big sticking point for a lot of VIM users [1]. If you ever end up on a Unix box that doesn't have VIM, you can always fall back on Vi.
[1]: /users/religious fanatics/

zck3 replies#
At least on Ubuntu, vi is really VIM:

    zck@zck-desktop:~$ vi --version
    VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan  2 2014 19:39:32)

Continue this thread — 3 replies

TranquilMarmot#
ZZ and ZQ work, at least on every instance of vim I've ever used
aidenn0#
vim defaults to 100% backwards compatible with vi. It has an option "nocompat" that enables some non-backwards compatible improvements.

ZZ definitely still works regardless of nocompat though.