Played Challenges
Search and Replace 0 - 4792 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #332 / 1585
- Number of attempts: 6
Sorting database text output - 219 entries
Sometimes it is nice to be able to quickly take column-formatted text output from the SQL command line and turn it into a list of useful data. In this case we want a unique, sorted list of the values from the second column combined into one comma-separated list. What is the fewest strokes you can do this in?
- Best score: 24
- Best player score: 24
- Position: #20 / 81
- Number of attempts: 4
I forgot quotes - 15931 entries
Oops.
- Best score: 10
- Best player score: 18
- Position: #3191 / 4161
- Number of attempts: 3
Neither Fizz nor Buzz - 230 entries
Not your regular increment macro! The gaps are tricky.
- Best score: 13
- Best player score: 20
- Position: #41 / 100
- Number of attempts: 6
Do you demand a shrubbery? - 1120 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 15
- Position: #9 / 293
- Number of attempts: 11
A HAPPY NEW YEAR 2014 ! - 10628 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #404 / 3667
- Number of attempts: 8
quotes inside quotes - 3125 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: #158 / 1072
- Number of attempts: 6
Words in parens - 12858 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #404 / 3946
- Number of attempts: 10
Hole-in-one - 1012 entries
Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.
- Best score: 15
- Best player score: 18
- Position: #139 / 302
- Number of attempts: 5
Delete unwanted lines - 396 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #135 / 225
- Number of attempts: 1
Word frequency alignment - 276 entries
You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...
- Best score: 5
- Best player score: 5
- Position: #90 / 158
- Number of attempts: 1
abcd > a b c d - 280 entries
transform the single spaces into 4 spaces repeat for each line
- Best score: 15
- Best player score: 15
- Position: #134 / 218
- Number of attempts: 1
switch variable - 5036 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #308 / 1736
- Number of attempts: 6
Refactor to Helpers - 48 entries
This Rails partial is almost all template escapes. Put it into a helper, and refactor each case to methods so we can build out the controls for each. (I've converted to tabs - fighting with Vimgolf's default config shouldn't be part of the challenge.)
- Best score: 147
- Best player score: 386
- Position: #18 / 23
- Number of attempts: 4
The Cake is a Lie - 1286 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #181 / 512
- Number of attempts: 3