Post your comments for Learn Vim With Online Game Vim Adventures here
Page 1 of 1
Learn Vim With Online Game Vim Adventures
#2
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.
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.
Share this topic:
Page 1 of 1
Help











