Played Challenges
Even and Odd - 95 entries
separate the even numbers from the odd numbers
- Best score: 13
- Best player score: 13
- Position: #2 / 28
- Number of attempts: 7
Modifying .XCompose - 33 entries
You just wrote some lines in .XCompose, but now you want the compose sequences to be more verbose. Change the compose sequence for each Greek letter to its name.
- Best score: 33
- Best player score: 33
- Position: #4 / 10
- Number of attempts: 3
hexagram binary tree - 62 entries
generate the binary tree that represents all possible hexagrams found in the book of changes (易经)
- Best score: 24
- Best player score: 47
- Position: #11 / 18
- Number of attempts: 1
Swap function parameters and delete all comments in python. - 840 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 36
- Position: #185 / 218
- Number of attempts: 1
Delete the last function argument in python. - 579 entries
Delete the last function argument in this python script.
- Best score: 6
- Best player score: 6
- Position: #116 / 211
- Number of attempts: 1
Flip All Bits - 364 entries
Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.
- Best score: 26
- Best player score: 32
- Position: #26 / 114
- Number of attempts: 3
From brakets to parens - 1276 entries
This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.
- Best score: 24
- Best player score: 36
- Position: #145 / 288
- Number of attempts: 3
Extract argument from function - 2409 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 13
- Position: #282 / 771
- Number of attempts: 5
Python Hello World! Reformatting - 1034 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: #203 / 395
- Number of attempts: 1
Join 'em - 258 entries
This shouldn't be too tough
- Best score: 4
- Best player score: 4
- Position: #31 / 157
- Number of attempts: 1
Change name of a variable - 189 entries
Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.
- Best score: 9
- Best player score: 9
- Position: #139 / 146
- Number of attempts: 1
Where should I put the Newline? - 902 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #227 / 448
- Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10755 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 15
- Position: #3241 / 3715
- Number of attempts: 1
Groups magic - 169 entries
Regexp or macros for string converting: (a) -> ___ (abc) -> ____ (abcd) -> ______ All in the '(' replace to _ multiply by char count + ()
- Best score: 13
- Best player score: 14
- Position: #77 / 99
- Number of attempts: 1
The name of the game - 684 entries
End up with the name of the game.
- Best score: 11
- Best player score: 12
- Position: #330 / 368
- Number of attempts: 1
Braces or Brackets? - 1200 entries
Someone forgot whether to use braces or brackets and you have to clean up their code!
- Best score: 34
- Best player score: 39
- Position: #95 / 361
- Number of attempts: 4
Whitespace, empty lines and tabs - 4035 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 22
- Position: #370 / 860
- Number of attempts: 2
Simple text editing with Vim - 13606 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 13
- Position: #779 / 3898
- Number of attempts: 3
Reformat/Refactor a Golfer Class - 7660 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 41
- Position: #998 / 1886
- Number of attempts: 2
VimGolf