Played Challenges
Flip All Bits - 65 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: #16 / 22
- Number of attempts: 5
From brakets to parens - 1103 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: #87 / 241
- Number of attempts: 12
Change to ascending order - 500 entries
Change each line of numbers consistently from descending to ascending order.
- Best score: 17
- Best player score: 117
- Position: #102 / 125
- Number of attempts: 4
Change class fields from camel case to snake case - 602 entries
This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513
- Best score: 18
- Best player score: 25
- Position: #90 / 136
- Number of attempts: 13
Rearrange array to single level - 1768 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: #96 / 296
- Number of attempts: 14
Rearrange array to one line - 840 entries
Rearrange the array content on only one line, and remove trailing commas
- Best score: 13
- Best player score: 17
- Position: #70 / 197
- Number of attempts: 12
Case matching substitution - 82 entries
Swap every "lorem" for "ipsum", keeping the letter cases the same.
- Best score: 31
- Best player score: 52
- Position: #15 / 19
- Number of attempts: 10
delete swap - 1842 entries
delete all swap
- Best score: 5
- Best player score: 7
- Position: #435 / 572
- Number of attempts: 3
Add quotes to ansible playbook - 1039 entries
You created an ansible playbook, but forgot to add quotes. Can you fix it?
- Best score: 8
- Best player score: 10
- Position: #268 / 329
- Number of attempts: 2
Search and Replace 0 - 5074 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 14
- Position: #1099 / 1653
- Number of attempts: 5
Python Hello World! Reformatting - 1014 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: #299 / 389
- Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10732 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 14
- Position: #2878 / 3707
- Number of attempts: 7
Shebangs for all - 2084 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: #457 / 527
- Number of attempts: 9
Reformat most common surnames - 805 entries
Reformat copy-pasted table into a list of the most common surnames
- Best score: 23
- Best player score: 31
- Position: #139 / 233
- Number of attempts: 4
Change the content of a string - 1760 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 25
- Position: #420 / 644
- Number of attempts: 3
Simple text editing with Vim - 13466 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 16
- Position: #2408 / 3863
- Number of attempts: 6
VimGolf