Played Challenges
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: 47
- Position: #76 / 119
- Number of attempts: 5
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: 28
- Position: #99 / 290
- Number of attempts: 12
Change to ascending order - 541 entries
Change each line of numbers consistently from descending to ascending order.
- Best score: 17
- Best player score: 117
- Position: #110 / 132
- Number of attempts: 4
Change class fields from camel case to snake case - 664 entries
This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513
- Best score: 18
- Best player score: 25
- Position: #97 / 153
- Number of attempts: 13
Rearrange array to single level - 1829 entries
The goal is to flatten the array into a single list and remove any empty elements.
- Best score: 14
- Best player score: 21
- Position: #99 / 307
- Number of attempts: 14
Rearrange array to one line - 889 entries
Rearrange the array content on only one line, and remove trailing commas
- Best score: 13
- Best player score: 17
- Position: #77 / 205
- Number of attempts: 12
Case matching substitution - 92 entries
Swap every "lorem" for "ipsum", keeping the letter cases the same.
- Best score: 31
- Best player score: 52
- Position: #16 / 23
- Number of attempts: 10
delete swap - 1912 entries
delete all swap
- Best score: 5
- Best player score: 7
- Position: #441 / 580
- Number of attempts: 3
Add quotes to ansible playbook - 1049 entries
You created an ansible playbook, but forgot to add quotes. Can you fix it?
- Best score: 8
- Best player score: 10
- Position: #270 / 332
- Number of attempts: 2
Search and Replace 0 - 5159 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 14
- Position: #1110 / 1674
- 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: 45
- Position: #305 / 397
- Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10755 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 14
- Position: #2884 / 3715
- Number of attempts: 7
Shebangs for all - 2101 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: 22
- Position: #459 / 532
- Number of attempts: 9
Reformat most common surnames - 834 entries
Reformat copy-pasted table into a list of the most common surnames
- Best score: 23
- Best player score: 31
- Position: #143 / 238
- Number of attempts: 4
Change the content of a string - 1799 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 25
- Position: #429 / 655
- Number of attempts: 3
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: 16
- Position: #2435 / 3902
- Number of attempts: 6
VimGolf