Played Challenges
simple replacements - 1861 entries
The goal is to see the replacement commands in action.
- Best score: 19
- Best player score: 20
- Position: #103 / 399
- Number of attempts: 4
Inverting Lines - 1952 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 10
- Position: #30 / 522
- Number of attempts: 3
Modernise code - 1432 entries
Modernise and clean up some C++ code.
- Best score: 34
- Best player score: 42
- Position: #148 / 330
- Number of attempts: 5
remove lines containing the word "reader" - 3624 entries
easy stuff
- Best score: 9
- Best player score: 9
- Position: #98 / 1178
- Number of attempts: 5
Wrap the text of an email message to 79 characters - 851 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 8
- Position: #404 / 440
- Number of attempts: 3
Search and Replace 0 - 5040 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 15
- Position: #1097 / 1642
- Number of attempts: 5
Just the middle - 11551 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 7
- Position: #23 / 4233
- Number of attempts: 3
One to Ten - 2241 entries
Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2
- Best score: 12
- Best player score: 15
- Position: #521 / 682
- Number of attempts: 1
Delete to the end of the current line - 858 entries
Delete to the end of the current line, but keep the character under the cursor.
- Best score: 5
- Best player score: 5
- Position: #68 / 413
- Number of attempts: 2
I forgot quotes - 16114 entries
Oops.
- Best score: 10
- Best player score: 10
- Position: #40 / 4207
- Number of attempts: 7
A HAPPY NEW YEAR 2014 ! - 10718 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #172 / 3702
- Number of attempts: 4
attr_aligner - 3525 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 19
- Position: #52 / 706
- Number of attempts: 14
quotes inside quotes - 3185 entries
taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)
- Best score: 14
- Best player score: 14
- Position: #125 / 1086
- Number of attempts: 5
Words in parens - 12992 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #306 / 3977
- Number of attempts: 5
A Simple One - 1069 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...
- Best score: 9
- Best player score: 13
- Position: #619 / 672
- Number of attempts: 1
Sorting paragraphs - 552 entries
Order the paragraphs correctly, per prefixed index
- Best score: 18
- Best player score: 40
- Position: #126 / 165
- Number of attempts: 2
Reverse characters in a line - 806 entries
You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.
- Best score: 12
- Best player score: 33
- Position: #258 / 271
- Number of attempts: 3
Change the content of a string - 1736 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 25
- Position: #389 / 635
- Number of attempts: 2
Simple text editing with Vim - 13343 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 13
- Position: #249 / 3830
- Number of attempts: 6
Reformat/Refactor a Golfer Class - 7478 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 45
- Position: #1203 / 1840
- Number of attempts: 1
Rajit Singh
Twitter: @rajitbsingh
Tech obsessive, quality geek. Co-founder of Qeek currently building TestBuddy for exploratory testers.
VimGolf