PCWorld Forums

PCWorld Forums: Learn Vim With Online Game Vim Adventures - PCWorld Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Learn Vim With Online Game Vim Adventures

#1 User is offline   PCWorld 

  • Advanced Member
  • PipPipPipPipPipPipPipPip
  • Group: PCWorld BOT
  • Posts: 103,862
  • Joined: 01-August 07

Posted 14 June 2012 - 07:41 AM

Post your comments for Learn Vim With Online Game Vim Adventures here
0

#2 User is offline   GraysonPeddie 

  • Senior Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 603
  • Joined: 28-July 06
  • Location:Orlando, FL 32825 USA

  Posted 14 June 2012 - 08:00 AM

Arrow keys can take the place of hjkl since I can hardly find keyboards that do not have arrow keys.

When I got used to nano and I used Ctrl+W to search for words, if I do that in Firefox, whoops either the tab disappears or Firefox closes if you have one tab. That's when I got introduced to vim in LinuxQuestions.org.

To search for a word or multiple words, make sure you escape (ESC) out of INSERT mode, press /, and type what you're looking for.

To search and replace all of the words, make sure you are not in INSERT mode and do this:

:%s/helo/hello/g

...and hit Enter.

If you are in Linux (Ubuntu, Debian, OpenSUSE, Fedora, etc.), use a package manager of your choice to install vim. Open up a command line and type vimtutor. It opens up vim with a tutorial.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users