Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Vi editor

  1. #1
    Join Date
    Apr 2008
    Beans
    89

    Vi editor

    Hi,
    I'm very interesting Vi. So i want to install it and i google it. But i'm not found how to install it. So how can i install it ? Any Idea ?

  2. #2
    Join Date
    Nov 2007
    Location
    San Diego CA
    Beans
    165
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Vi editor

    just go to your console and type sudo vi <filename>

    it should load up whatever filename you choose.

    Be careful as the commands are a little hard to get use to.

  3. #3
    Join Date
    Apr 2008
    Location
    Vilnius, Lithuania
    Beans
    80
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Vi editor

    It should be installed by default, yes. But if by any chance it's not.

    Code:
    sudo apt-get install vi
    Actually, I'm not sure even sure it may be available at repos.


    EDIT: It was a funny try, he heh. No it's default all the time, there is no Vi at repositories.

  4. #4
    Join Date
    Apr 2008
    Beans
    89

    Re: Vi editor

    Quote Originally Posted by T-Virus View Post
    It should be installed by default, yes. But if by any chance it's not.

    Code:
    sudo apt-get install vi
    Actually, I'm not sure even sure it may be available at repos.


    EDIT: It was a funny try, he heh. No it's default all the time, there is no Vi at repositories.
    Thanks for your advice. He he.

    Regards,
    Zeck

  5. #5
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Beans
    1,393
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Vi editor

    Quote Originally Posted by T-Virus View Post
    It should be installed by default, yes. But if by any chance it's not.

    Code:
    sudo apt-get install vi
    Actually, I'm not sure even sure it may be available at repos.


    EDIT: It was a funny try, he heh. No it's default all the time, there is no Vi at repositories.
    Vim (VI Improved) is in the repos, and vim-tiny is installed by default on Ubuntu.

  6. #6
    Join Date
    Apr 2008
    Location
    Vilnius, Lithuania
    Beans
    80
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: Vi editor

    Thanks for heads up mate. I remember using Vi with Unix System V Release 4.2 all the way back in 1993.

  7. #7
    Join Date
    Mar 2007
    Beans
    174
    Distro
    Ubuntu

    Re: Vi editor

    You probably should try to get vim-full. It is available through symantec. When i tried to use regular vi, it didn't do spell checking. :set spell didn't do anything. vim-full on the other hand works perfectly

    Code:
    sudo apt-get install vim-full
    Many people would sooner die than think. In fact they do. - B. Russell

  8. #8
    Join Date
    Apr 2008
    Beans
    89

    Re: Vi editor

    Quote Originally Posted by Tart View Post
    You probably should try to get vim-full. It is available through symantec. When i tried to use regular vi, it didn't do spell checking. :set spell didn't do anything. vim-full on the other hand works perfectly

    Code:
    sudo apt-get install vim-full

    Thanks a lot. So how to use it. Could you teach me simple tutorials ?

  9. #9
    Join Date
    May 2006
    Location
    Switzerland
    Beans
    2,907
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Vi editor

    Quote Originally Posted by Tart View Post
    You probably should try to get vim-full. It is available through symantec.
    Symantec??? What in the world have they to do with this???

    ... Or you probably meant Synaptic?

  10. #10
    Join Date
    Oct 2007
    Beans
    56
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Vi editor

    Quote Originally Posted by Zeck View Post
    Thanks a lot. So how to use it. Could you teach me simple tutorials ?
    There's a tutorial here.
    http://www.apmaths.uwo.ca/~xli/vim/vim_tutorial.html

    I had to learn vi a few years back as it was the only text editor on the machines at work (we were basically telnetting into Unix boxes so had to use vi). I'm so glad I learned how to use it though as it is a brilliant editor.

Page 1 of 3 123 LastLast

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
  •