igrigorik / vimgolf

Real Vim ninjas count every keystroke - do you?
http://www.vimgolf.com/
MIT License
672 stars 65 forks source link

Getting Started Guide #386

Open andyfoster opened 5 months ago

andyfoster commented 5 months ago

It would be nice to have a page for new users to get up to speed with how VimGolf works. #feature-request

Maybe some good starter exercises or a little tutorial to get their first score posted.

E.g. Challenge: Words in parens

https://www.vimgolf.com/challenges/5192f96ad8df110002000002

Start file

one two
three

End file

(one) (two)
(three)

Example answer:

  1. Move cursor to the start of "one".
  2. Press i to enter insert mode, type (, press Esc.
  3. Move cursor after "one", press a, type ), press Esc.
  4. Repeat steps for "two" and "three".

Type :wq to save and w to submit your answer.

Refresh the webpage and see what solutions others have come up with.

Happy golfing

Hints