Played Challenges
Simple, Practical, and Common - 33964 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 / 7500
- Number of attempts: 7
One number per line - 18889 entries
Just give me the numbers.
- Best score: 14
- Best player score: 14
- Position: #13 / 3898
- Number of attempts: 3
V to the i - 4853 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 7
- Position: #285 / 1909
- Number of attempts: 2
Every other line - 2945 entries
AaAaAaA
- Best score: 12
- Best player score: 20
- Position: #613 / 710
- Number of attempts: 2
Search and Replace 0 - 5102 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #413 / 1662
- Number of attempts: 6
Just the middle - 11572 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 7
- Position: #445 / 4240
- Number of attempts: 3
Adam's challenge - 1018 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 / 278
- Number of attempts: 3
JS notation to Immutable.js notation - 195 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: #53 / 64
- Number of attempts: 1
Add to end of each line... kinda - 344 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 / 177
- Number of attempts: 3
Vice versa - 7997 entries
Little role switching.
- Best score: 12
- Best player score: 14
- Position: #887 / 2152
- Number of attempts: 4
comments galore - 1079 entries
Basic comment reformatting
- Best score: 10
- Best player score: 10
- Position: #45 / 431
- Number of attempts: 2
Mirrored text - 199 entries
backward and forward, and long enough to be challenging
- Best score: 14
- Best player score: 14
- Position: #18 / 74
- Number of attempts: 5
Replace and keep the case - 448 entries
Replace all instance of plugin and Plugin to device and Device.
- Best score: 26
- Best player score: 27
- Position: #61 / 121
- Number of attempts: 4
O Christmas Tree - 123 entries
Design a macro that makes trees grow (or ASCII triangles, if that's too hard).
- Best score: 22
- Best player score: 25
- Position: #9 / 44
- Number of attempts: 6
From A to B - 603 entries
Mirror and change this text block
- Best score: 16
- Best player score: 17
- Position: #70 / 160
- Number of attempts: 5
Collect List - 4332 entries
Convert to comma separated list.
- Best score: 12
- Best player score: 15
- Position: #703 / 1196
- Number of attempts: 3
VimGolfNight - 581 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #134 / 353
- Number of attempts: 2
camel riding - 796 entries
add a prefix on some camelCase variables
- Best score: 15
- Best player score: 15
- Position: #42 / 282
- Number of attempts: 5
readability - 331 entries
Make the code readable by adding some spaces
- Best score: 18
- Best player score: 19
- Position: #122 / 153
- Number of attempts: 1
Fill visual area - 107 entries
Just have fun!
- Best score: 20
- Best player score: 20
- Position: #5 / 39
- Number of attempts: 5
I forgot quotes - 16176 entries
Oops.
- Best score: 10
- Best player score: 10
- Position: #274 / 4216
- Number of attempts: 4
-a-b-c- - 3233 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 13
- Position: #124 / 1143
- Number of attempts: 5
Count both ways - 1030 entries
Right AND down.
- Best score: 13
- Best player score: 17
- Position: #310 / 356
- Number of attempts: 2
Do you demand a shrubbery? - 1184 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 15
- Position: #39 / 305
- Number of attempts: 10
Vim tetris - 384 entries
Vim can play tetris too!
- Best score: 21
- Best player score: 23
- Position: #37 / 105
- Number of attempts: 3
Split the words - 394 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: #56 / 113
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10748 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #815 / 3711
- Number of attempts: 3
attr_aligner - 3565 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 32
- Position: #464 / 709
- Number of attempts: 2
Letter case trickery - 1663 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: #312 / 522
- Number of attempts: 2
quotes inside quotes - 3195 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 / 1089
- Number of attempts: 5
Assign list - 202 entries
Assign list elements to matrix
- Best score: 30
- Best player score: 49
- Position: #41 / 63
- 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 - 299 entries
transform the single spaces into 4 spaces repeat for each line
- Best score: 15
- Best player score: 15
- Position: #117 / 228
- Number of attempts: 2
The name of the game - 679 entries
End up with the name of the game.
- Best score: 11
- Best player score: 11
- Position: #152 / 364
- Number of attempts: 4
lamb had a little Mary - 641 entries
"Mary" and "lamb" are swapped. Unswap them. Fast as you can.
- Best score: 16
- Best player score: 32
- Position: #63 / 177
- Number of attempts: 6
Stairs Indenting - 479 entries
Indent each line with <line number> whitespaces.
- Best score: 12
- Best player score: 12
- Position: #9 / 199
- Number of attempts: 3
Vertical Limit - 2624 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 22
- Position: #162 / 774
- Number of attempts: 6
replacing each line of a block selection - 3040 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 20
- Position: #266 / 785
- Number of attempts: 7
Remove noise from HTTP log - 741 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 / 279
- 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 - 5110 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #885 / 1758
- Number of attempts: 4
Shebangs for all - 2090 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: #323 / 529
- Number of attempts: 2
Reverse and count - 486 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: #77 / 179
- Number of attempts: 6
The Cake is a Lie - 1390 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #163 / 539
- Number of attempts: 2
Simple text editing with Vim - 13509 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1222 / 3874
- Number of attempts: 3
Reformat/Refactor a Golfer Class - 7579 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 42
- Position: #1019 / 1871
- Number of attempts: 2
VimGolf