Played Challenges
Simple, Practical, and Common - 33616 entries
Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.
- Best score: 22
- Best player score: 22
- Position: #416 / 7420
- Number of attempts: 7
One number per line - 18727 entries
Just give me the numbers.
- Best score: 14
- Best player score: 14
- Position: #13 / 3864
- Number of attempts: 3
V to the i - 4802 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 7
- Position: #285 / 1893
- Number of attempts: 2
Every other line - 2910 entries
AaAaAaA
- Best score: 12
- Best player score: 20
- Position: #608 / 703
- Number of attempts: 2
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #413 / 1624
- Number of attempts: 6
Just the middle - 11454 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 7
- Position: #445 / 4197
- Number of attempts: 3
Adam's challenge - 984 entries
Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.
- Best score: 18
- Best player score: 18
- Position: #14 / 270
- Number of attempts: 3
JS notation to Immutable.js notation - 186 entries
Now Immutable.js made its way into many frontends. This challenge consists of a typical refactoring that many of us are facing now.
- Best score: 34
- Best player score: 46
- Position: #52 / 63
- Number of attempts: 1
Add to end of each line... kinda - 333 entries
Visual-block mode can be used to add something to the end of each line, even if they are of differing lengths. However, what if it's not quite at the end?
- Best score: 12
- Best player score: 12
- Position: #55 / 174
- Number of attempts: 3
Vice versa - 7907 entries
Little role switching.
- Best score: 12
- Best player score: 14
- Position: #879 / 2128
- Number of attempts: 4
comments galore - 1045 entries
Basic comment reformatting
- Best score: 10
- Best player score: 10
- Position: #45 / 424
- Number of attempts: 2
Mirrored text - 177 entries
backward and forward, and long enough to be challenging
- Best score: 14
- Best player score: 14
- Position: #18 / 71
- Number of attempts: 5
Replace and keep the case - 437 entries
Replace all instance of plugin and Plugin to device and Device.
- Best score: 26
- Best player score: 27
- Position: #60 / 118
- Number of attempts: 4
O Christmas Tree - 109 entries
Design a macro that makes trees grow (or ASCII triangles, if that's too hard).
- Best score: 22
- Best player score: 25
- Position: #8 / 43
- Number of attempts: 6
From A to B - 591 entries
Mirror and change this text block
- Best score: 16
- Best player score: 17
- Position: #69 / 159
- Number of attempts: 5
Collect List - 4298 entries
Convert to comma separated list.
- Best score: 12
- Best player score: 15
- Position: #698 / 1190
- Number of attempts: 3
VimGolfNight - 560 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #134 / 347
- Number of attempts: 2
camel riding - 793 entries
add a prefix on some camelCase variables
- Best score: 15
- Best player score: 15
- Position: #42 / 281
- Number of attempts: 5
readability - 327 entries
Make the code readable by adding some spaces
- Best score: 18
- Best player score: 19
- Position: #121 / 152
- Number of attempts: 1
Fill visual area - 91 entries
Just have fun!
- Best score: 20
- Best player score: 20
- Position: #5 / 38
- Number of attempts: 5
I forgot quotes - 15983 entries
Oops.
- Best score: 10
- Best player score: 10
- Position: #274 / 4180
- Number of attempts: 4
-a-b-c- - 3213 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 13
- Position: #124 / 1137
- Number of attempts: 5
Count both ways - 1022 entries
Right AND down.
- Best score: 13
- Best player score: 17
- Position: #308 / 354
- Number of attempts: 2
Do you demand a shrubbery? - 1158 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 15
- Position: #39 / 300
- Number of attempts: 10
Vim tetris - 353 entries
Vim can play tetris too!
- Best score: 21
- Best player score: 23
- Position: #35 / 102
- Number of attempts: 3
Split the words - 368 entries
Add the spaces manually if you must, but if you use Vim's spell checking feature wisely, I think you'll save a LARGE number of strokes.
- Best score: 18
- Best player score: 36
- Position: #55 / 111
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10663 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #815 / 3683
- Number of attempts: 3
attr_aligner - 3520 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 32
- Position: #460 / 702
- Number of attempts: 2
Letter case trickery - 1630 entries
This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.
- Best score: 9
- Best player score: 12
- Position: #309 / 518
- Number of attempts: 2
quotes inside quotes - 3159 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: #209 / 1078
- Number of attempts: 5
Assign list - 192 entries
Assign list elements to matrix
- Best score: 30
- Best player score: 49
- Position: #39 / 61
- Number of attempts: 1
Minimalist Limerick - 520 entries
Reproduce this lovely poem.
- Best score: 30
- Best player score: 34
- Position: #66 / 174
- Number of attempts: 1
abcd > a b c d - 291 entries
transform the single spaces into 4 spaces repeat for each line
- Best score: 15
- Best player score: 15
- Position: #117 / 222
- Number of attempts: 2
The name of the game - 665 entries
End up with the name of the game.
- Best score: 11
- Best player score: 11
- Position: #152 / 360
- Number of attempts: 4
lamb had a little Mary - 609 entries
"Mary" and "lamb" are swapped. Unswap them. Fast as you can.
- Best score: 16
- Best player score: 32
- Position: #63 / 168
- Number of attempts: 6
Stairs Indenting - 473 entries
Indent each line with <line number> whitespaces.
- Best score: 12
- Best player score: 12
- Position: #9 / 197
- Number of attempts: 3
Vertical Limit - 2538 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 22
- Position: #157 / 754
- Number of attempts: 6
replacing each line of a block selection - 2999 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 20
- Position: #262 / 777
- Number of attempts: 7
Remove noise from HTTP log - 717 entries
This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.
- Best score: 15
- Best player score: 15
- Position: #85 / 273
- Number of attempts: 4
un-C-escape string - 58 entries
Convert escape sequences to characters
- Best score: 12
- Best player score: 12
- Position: #38 / 52
- Number of attempts: 1
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #878 / 1748
- Number of attempts: 4
Shebangs for all - 1999 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 16
- Position: #315 / 516
- Number of attempts: 2
Reverse and count - 473 entries
Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.
- Best score: 18
- Best player score: 24
- Position: #75 / 176
- Number of attempts: 6
The Cake is a Lie - 1346 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #163 / 527
- Number of attempts: 2
Simple text editing with Vim - 12811 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1187 / 3694
- Number of attempts: 3
Reformat/Refactor a Golfer Class - 6982 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 42
- Position: #965 / 1706
- Number of attempts: 2