Results 1 to 4 of 4

Thread: Vim

  1. #1
    Junior Member
    Join Date
    Dec 2002
    Posts
    3

    Vim

    Hello. I"m having trouble figuring out the commands for the VIM text editor on linux. Can someone thow some basics commands out for me to pick up? Thanks

  2. #2
    Just a Virtualized Geek MrLinus's Avatar
    Join Date
    Sep 2001
    Location
    Redondo Beach, CA
    Posts
    7,323
    Goodbye, Mittens (1992-2008). My pillow will be cold without your purring beside my head
    Extra! Extra! Get your FREE copy of Insight Newsletter||MsMittens' HomePage

  3. #3
    Junior Member
    Join Date
    Feb 2003
    Posts
    24
    If you just type vimtutor, or aleast it is this way on my Debian boxes, it launches a good tutorial.

  4. #4
    www.vim.org , check documentation and download the vimbook . You can use vimtutor as well, and you will find an user guide at /usr/doc/vim or something like this. Anyway, something to help you before reaching these sources:
    1) Esc brings you back to command mode.
    2) To insert text, press i . to issue other commands after inserting, esc.
    3) In normal (command) mode, :w filename you save your work
    4) :wq! leaves and overwrites, no questions asked.
    5) at least you can leave the program now.. thereĀ“s a storm coming, and i want to save my modem. cya!

    Found in a diary:
    \".... and yes, since i am a l337 hax0r, i am also using vi to write this. ^[[D^[[B^ exit ^X^C quit :x :wq dang it :w:w:w :x ^C^C^Z^D\"

Posting Permissions

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