Played Challenges
Even and Odd - 191 entries
separate the even numbers from the odd numbers
- Best score: 13
- Best player score: 13
- Position: #1 / 37
- Number of attempts: 7
Modifying .XCompose - 44 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 / 12
- Number of attempts: 3
hexagram binary tree - 86 entries
generate the binary tree that represents all possible hexagrams found in the book of changes (易经)
- Best score: 24
- Best player score: 47
- Position: #16 / 21
- Number of attempts: 1
Swap function parameters and delete all comments in python. - 923 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 36
- Position: #195 / 228
- Number of attempts: 1
Delete the last function argument in python. - 611 entries
Delete the last function argument in this python script.
- Best score: 6
- Best player score: 6
- Position: #116 / 221
- Number of attempts: 1
Flip All Bits - 387 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: #27 / 119
- Number of attempts: 3
From brakets to parens - 1290 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: #146 / 290
- Number of attempts: 3
Extract argument from function - 2427 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 13
- Position: #282 / 772
- Number of attempts: 5
Python Hello World! Reformatting - 1047 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: #205 / 397
- 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 - 196 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 / 147
- Number of attempts: 1
Where should I put the Newline? - 908 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #227 / 449
- 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 - 173 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 / 100
- Number of attempts: 1
The name of the game - 696 entries
End up with the name of the game.
- Best score: 11
- Best player score: 12
- Position: #330 / 369
- Number of attempts: 1
Braces or Brackets? - 1201 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 / 362
- Number of attempts: 4
Whitespace, empty lines and tabs - 4044 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 22
- Position: #370 / 862
- Number of attempts: 2
Simple text editing with Vim - 13626 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 / 3902
- Number of attempts: 3
Reformat/Refactor a Golfer Class - 7681 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 41
- Position: #1000 / 1889
- Number of attempts: 2
VimGolf