Played Challenges
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 14
- Position: #952 / 1624
- Number of attempts: 1
Python Hello World! Reformatting - 994 entries
A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.
- Best score: 39
- Best player score: 43
- Position: #164 / 380
- Number of attempts: 1
VimGolfNight - 560 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #37 / 347
- 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: 16
- Position: #527 / 1078
- Number of attempts: 2
Words in parens - 12939 entries
We should all ace this, right?
- Best score: 13
- Best player score: 16
- Position: #1928 / 3964
- Number of attempts: 5
Delete unwanted lines - 413 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #54 / 229
- Number of attempts: 2
Word frequency alignment - 290 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: #73 / 161
- 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: #103 / 222
- Number of attempts: 1
The Quick Brown Fox Jumps Over The Lazy Vim - 420 entries
Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."
- Best score: 8
- Best player score: 11
- Position: #124 / 192
- Number of attempts: 2
SFD-ROC: vimvimvim - 1606 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
- Best score: 8
- Best player score: 9
- Position: #189 / 446
- Number of attempts: 5
Saving the hashes(#) - 2063 entries
The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.
- Best score: 20
- Best player score: 36
- Position: #439 / 480
- Number of attempts: 1
Vertical Limit - 2538 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 26
- Position: #431 / 754
- Number of attempts: 2
Exchanging Quotes - 858 entries
Sometimes you need to exchange a choice of quotes in some code.
- Best score: 30
- Best player score: 40
- Position: #188 / 230
- Number of attempts: 1
replacing each line of a block selection - 2999 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 19
- Position: #142 / 777
- Number of attempts: 4
Switch function arguments - 2139 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 11
- Position: #63 / 663
- Number of attempts: 7
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 13
- Position: #1085 / 1748
- Number of attempts: 3
Make it more readable - 2005 entries
Insert blank lines to make it more organized and readable
- Best score: 13
- Best player score: 15
- Position: #260 / 650
- Number of attempts: 3
Ruby 1.9 hashes - 1244 entries
Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!
- Best score: 12
- Best player score: 12
- Position: #55 / 406
- Number of attempts: 5
The Cake is a Lie - 1346 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #151 / 527
- Number of attempts: 5
Simple text editing with Vim - 12815 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 21
- Position: #2865 / 3696
- Number of attempts: 5
Reformat/Refactor a Golfer Class - 6984 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 50
- Position: #1383 / 1708
- Number of attempts: 3