Results 1 to 5 of 5

Thread: Why does vi say vim?

  1. #1
    Join Date
    Mar 2013
    Beans
    19

    Question Why does vi say vim?

    Hello,
    So I just installed Ubuntu and i wanted to see if it already has VIM installed, so I ran vim and nothing happened. Then accidentally ran vi and was shocked when I saw the vim welcome screen in front of me. However, once I started using it, I figured that it was actually "vi" not "vim", due to arrow keys not being usable as expected in a regular text editor.
    So I installed the actual VIM and I use it now and it's cool and all. No problem was really encountered here. However, I really wonder why "vi" still says "vim" at the welcome screen when it starts out. That was really misleading. If it had said "vi" instead of "vim" in the beginning, I wouldn't have to waste a precious 30 second to figure out that it wasn't really vim. Why is that?

  2. #2
    Join Date
    Mar 2013
    Beans
    30

    Re: Why does vi say vim?

    Why would you want vim instead of vi anyways?
    Last edited by mharv; March 30th, 2013 at 09:39 AM.

  3. #3
    Join Date
    Mar 2013
    Beans
    19

    Re: Why does vi say vim?

    I don't. I was just wondering why "vi" says "vim" instead in the welcome screen.

  4. #4
    Join Date
    May 2008
    Location
    SoCal
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Why does vi say vim?

    The default Ubuntu install comes with vim-tiny which is essentially vi. You need to install vim to get all of the useful vim enhancements.
    -BAB1

  5. #5
    Join Date
    May 2010
    Location
    South Gloucestershire, UK
    Beans
    2,587
    Distro
    Ubuntu Gnome Development Release

    Re: Why does vi say vim?

    The following output shows that vi is a symlink which points to whatever version of vim is installed.

    Code:
    paul@G620:~$ which vi
    /usr/bin/vi
    paul@G620:~$ vdir /usr/bin/vi
    lrwxrwxrwx 1 root root 20 Mar 24 13:00 /usr/bin/vi -> /etc/alternatives/vi*
    paul@G620:~$ vdir /etc/alternatives/vi
    lrwxrwxrwx 1 root root 16 Mar 24 13:18 /etc/alternatives/vi -> /usr/bin/vim.gtk*

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •