jabirali wrote:
[b]marc wrote:[/b]
[quote]Anyway... I *can* use the arrow keys while in insert mode... (both in vi and vim)
Many systems don't provide descendants of the original Vi anymore. I know the BSDs and ArchLinux provides it, but at least Ubuntu by default provides a a symlink to Vim, which goes into a Vi emulation mode when invoked by the name of
vi. Follow all the symlinks from
/usr/bin/vi, or check which package provides the file ;)[/quote]
I do use Archlinux and FreeBSD... :)
Anyway, my CentOS installs come with /bin/vi which seem to be vim executable renamed :S Wierd, uh?
Regards
EDIT:
rpm -qf /bin/vi
vim-minimal-7.0.109-7.el5
and
yum info vim-minimal
Installed Packages
Name : vim-minimal
Arch : x86_64
Epoch : 2
Version : 7.0.109
Release : 7.el5
Size : 616 k
Repo : installed
Summary : A minimal version of the VIM editor.
License : freeware
Description: VIM (VIsual editor iMproved) is an updated and improved version of the
: vi editor. Vi was the first real screen-based editor for UNIX, and is
: still very popular. VIM improves on vi by adding new features:
: multiple windows, multi-level undo, block highlighting and more. The
: vim-minimal package includes a minimal version of VIM, which is
: installed into /bin/vi for use when only the root partition is
: present. NOTE: The online help is only available when the vim-common
: package is installed.