Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put [challenge ID]

Played Challenges

Even and Odd - 254 entries

separate the even numbers from the odd numbers

  • Best score: 13
  • Best player score: 14
  • Position: #19 / 55
  • Number of attempts: 63
Delete the last function argument in python. - 649 entries

Delete the last function argument in this python script.

  • Best score: 6
  • Best player score: 7
  • Position: #165 / 233
  • Number of attempts: 7
Flip All Bits - 401 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: 39
  • Position: #54 / 123
  • Number of attempts: 8
Sort and Tag - 737 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 504
  • Position: #154 / 156
  • Number of attempts: 4
YAML to dotenv - 1637 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 193
  • Position: #342 / 342
  • Number of attempts: 2
The Fibonacci Spacer - 172 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 14
  • Best player score: 301
  • Position: #52 / 52
  • Number of attempts: 2
Fix the Scala Method - 375 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 2
  • Best player score: 43
  • Position: #121 / 124
  • Number of attempts: 5
Change class fields from camel case to snake case - 669 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 395
  • Position: #154 / 154
  • Number of attempts: 2
Replace csv column if it's not empty - 310 entries

Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched

  • Best score: 15
  • Best player score: 16
  • Position: #65 / 100
  • Number of attempts: 15
Convert plain text into a markdown table - 104 entries

Convert the table to markdown to make it more usable

  • Best score: 56
  • Best player score: 467
  • Position: #34 / 34
  • Number of attempts: 2
Change readonly files - 128 entries

Try to write a file that was marked as read-only.

  • Best score: 20
  • Best player score: 21
  • Position: #17 / 36
  • Number of attempts: 11
extract struct tag in go - 164 entries

Can you extract all struct tags in the fewest keystrokes possible?

  • Best score: 29
  • Best player score: 82
  • Position: #44 / 49
  • Number of attempts: 7
CaN yOuR ViM dO ThAt? #2 - 115 entries

Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s

  • Best score: 49
  • Best player score: 115
  • Position: #29 / 29
  • Number of attempts: 2
Append leading hyphen count to each line - 148 entries

Append the number of leading hyphens to the end of each line.

  • Best score: 23
  • Best player score: 36
  • Position: #33 / 41
  • Number of attempts: 7
Fix timezone format - 372 entries

Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`

  • Best score: 15
  • Best player score: 16
  • Position: #39 / 120
  • Number of attempts: 13
Search different SQL column with similar where clause - 363 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

  • Best score: 22
  • Best player score: 87
  • Position: #87 / 87
  • Number of attempts: 2
Move to corresponding lines - 334 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 33
  • Position: #64 / 76
  • Number of attempts: 10
Change LaTex itemizations formats - 137 entries

Inspired by the way my professor formats their LaTeX assignments.

  • Best score: 43
  • Best player score: 116
  • Position: #21 / 24
  • Number of attempts: 5
Column wise pasting - 268 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 98
  • Position: #57 / 58
  • Number of attempts: 5
Deleting text - 350 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 1666
  • Position: #113 / 113
  • Number of attempts: 2
Resolve the spreadsheet - 42 entries

Replace the formulas in column C with the resulting values. Divisions by zero result in NaN. Operations with NaN also result in NaN.

  • Best score: 118
  • Best player score: 319
  • Position: #8 / 9
  • Number of attempts: 5
Case matching substitution - 92 entries

Swap every "lorem" for "ipsum", keeping the letter cases the same.

  • Best score: 31
  • Best player score: 225
  • Position: #22 / 23
  • Number of attempts: 2
Define Gray code states - 61 entries

List the states using Gray code and assign Gray code values to each state.

  • Best score: 54
  • Best player score: 118
  • Position: #16 / 17
  • Number of attempts: 5
Hex to binary - 134 entries

Convert hexadecimal numbers into binary format.

  • Best score: 29
  • Best player score: 98
  • Position: #27 / 27
  • Number of attempts: 4
Count words - 129 entries

Merge duplicates and count each word.

  • Best score: 39
  • Best player score: 66
  • Position: #20 / 28
  • Number of attempts: 6
String decompression - 47 entries

3a4b2c => aaabbbbcc. Start a new line when you exceed 79 columns.

  • Best score: 27
  • Best player score: 64
  • Position: #16 / 16
  • Number of attempts: 4
Reverse even lines - 47 entries

Reverse only the even lines without altering the odd lines.

  • Best score: 7
  • Best player score: 36
  • Position: #14 / 15
  • Number of attempts: 3
Mirror image - 132 entries

Add the second eye

  • Best score: 15
  • Best player score: 48
  • Position: #34 / 38
  • Number of attempts: 6
Find anomalies - 172 entries

There is one special character per line

  • Best score: 30
  • Best player score: 98
  • Position: #43 / 47
  • Number of attempts: 5
New teacher - 1527 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 52
  • Position: #315 / 319
  • Number of attempts: 6
Instance creation in Verilog - 52 entries

Creating an instance of a module is a very frequent task in Verilog. Let's see how efficiently can it be done

  • Best score: 107
  • Best player score: 197
  • Position: #11 / 11
  • Number of attempts: 4
EDN reformat - 1222 entries

The goal is to make the code more readable and concise while maintaining its functionality.

  • Best score: 17
  • Best player score: 93
  • Position: #171 / 173
  • Number of attempts: 4
Surround the 'z' character with brackets, quotes, and print as formatted string. - 583 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 21
  • Position: #321 / 329
  • Number of attempts: 1
Easier Align - 449 entries

Align the columns of a markdown table

  • Best score: 51
  • Best player score: 516
  • Position: #97 / 101
  • Number of attempts: 6
Filter number combinations that don't add to 11 - 445 entries

Append the sum of each line to its end, alongside an equals sign, and remove any that do not sum to 11. The ordering of lines should stay the same. Note that the combinations are semi-arbitrary and not all 4-number combinations are present in the file.

  • Best score: 27
  • Best player score: 28
  • Position: #82 / 124
  • Number of attempts: 18
Tabbed Table to Python Array - 777 entries

Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html

  • Best score: 50
  • Best player score: 1697
  • Position: #186 / 186
  • Number of attempts: 4
Reformat symbols in list - 1658 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 202
  • Position: #357 / 357
  • Number of attempts: 2
Changing around text with citations - 364 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 197
  • Position: #97 / 97
  • Number of attempts: 2
Many duplicates - 1489 entries

Quick and easy

  • Best score: 7
  • Best player score: 10
  • Position: #409 / 484
  • Number of attempts: 5
delete swap - 1912 entries

delete all swap

  • Best score: 5
  • Best player score: 6
  • Position: #437 / 580
  • Number of attempts: 25
Wikitext headings to markdown - 1039 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 102
  • Position: #213 / 215
  • Number of attempts: 4
Contribute to keyboard mashing - 913 entries

Speak in tongues

  • Best score: 17
  • Best player score: 34
  • Position: #275 / 277
  • Number of attempts: 5
Reordering Lorem Ipsum - 308 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 1191
  • Position: #67 / 68
  • Number of attempts: 2
Transpose a python matrix - 907 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 316
  • Position: #141 / 141
  • Number of attempts: 2
Create a diamond comment - 360 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 307
  • Position: #78 / 78
  • Number of attempts: 4
Lowercase first characters - 509 entries

This is the (abridged) input for Day 3 in Advent of Code 2019. The output is a format more suitable for Prolog programming: the two lines of input become two lists of pairs, joined together in a wires functor.

  • Best score: 33
  • Best player score: 71
  • Position: #185 / 188
  • Number of attempts: 6
Make list of numbers from 1 to 30 more compact, but more confusing - 127 entries

Change the naming logic of numbers to end up with less lines.

  • Best score: 74
  • Best player score: 254
  • Position: #42 / 42
  • Number of attempts: 2
simple replacements - 1885 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 42
  • Position: #391 / 403
  • Number of attempts: 8
Inverting Lines - 1961 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 95
  • Position: #526 / 526
  • Number of attempts: 2
Modernise code - 1439 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 261
  • Position: #333 / 333
  • Number of attempts: 2
Staircase - 178 entries

Going downstairs, while singing the alphabet song. Some vb practice to us all. Would it be much easier to make it go from left to right instead?

  • Best score: 21
  • Best player score: 41
  • Position: #28 / 38
  • Number of attempts: 9
Put a cross in the square - 256 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 23
  • Position: #71 / 95
  • Number of attempts: 11
Easy modification of ssh config - 406 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 71
  • Position: #114 / 119
  • Number of attempts: 6
Change double quotes to single quotes, but with a twist - 360 entries

Although this challenge is in the context of a Python function, you don't need to know Python to do this challenge. It is to add contexts and interesting constraints. The file contains a function that prints a multi-line string literal. I wrote the string literal with double quotes, but then I decided to use single quotes instead, and that's your challenge. However, interestingly enough, the string itself contains single and double quotes. This means, inside the string literal, the originally escaped double quotes no longer need to be escaped, but the single quotes now need to be escaped. Note that the triple double quotes in the docstring should be left alone.

  • Best score: 22
  • Best player score: 23
  • Position: #29 / 61
  • Number of attempts: 18
Mr. Hacker - 104 entries

Elvin is hacker. He has piece of users database from some social net site. Recently he installed Vim, and he wants to convert CSV DB to specific format `key=value' where `key' is login and `value' is password, but password in DB is encrypted in ROT13. Help him.

  • Best score: 19
  • Best player score: 20
  • Position: #30 / 39
  • Number of attempts: 5
Python: Def to Lambda - 492 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 20
  • Position: #112 / 162
  • Number of attempts: 13
Turn the x - 356 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 20
  • Position: #40 / 86
  • Number of attempts: 13
Format the CSS - 185 entries

You just copied some CSS color names from the web and need to add them to your python module. Create the COLORS variable and assign a dict() with the names as keys and hex-colors as values. BEWARE OF THE TABS!!

  • Best score: 41
  • Best player score: 42
  • Position: #14 / 52
  • Number of attempts: 17
Rural Post - 4602 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 258
  • Position: #1122 / 1124
  • Number of attempts: 4
Levenshtein distance - 139 entries

Compute distance for each pair. Notice that this recursive implementation is very inefficient. Wagner-Fischer algorithm is iterative and much faster. #vimscript

  • Best score: 27
  • Best player score: 33
  • Position: #21 / 40
  • Number of attempts: 12
Satisfy the go linter - 2487 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 145
  • Position: #496 / 496
  • Number of attempts: 2
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: 24
  • Position: #326 / 332
  • Number of attempts: 7
xrandr outputs and dashes - 754 entries

uh oh, different video drivers identify display outputs with more dashes. Quick, need to change this xrandr script!

  • Best score: 12
  • Best player score: 13
  • Position: #177 / 229
  • Number of attempts: 23
Capitalize the Names - 435 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 21
  • Best player score: 148
  • Position: #101 / 102
  • Number of attempts: 5
Simple, Practical, and Common - 34021 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 23
  • Position: #2847 / 7517
  • Number of attempts: 19
Hogwarts Email Sorting - 954 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 171
  • Position: #270 / 272
  • Number of attempts: 2
Reconstruct the actual output from my unit test tool report - 167 entries

When a test fails, my unit test tool reports differences between the actual output and the expected output as follow: - line in the expected output but missing in the actual output are prefixed with a dash - unexpected lines in the actual output are prefixed with a plus sign - comments added by the unit test tool are prefixed with a question mark - common lines are showed `as-is` (well, almost;) From that "diff" format, I would like to reconstruct the actual output.

  • Best score: 16
  • Best player score: 56
  • Position: #55 / 55
  • Number of attempts: 4
Add text at some column - 184 entries

Complete golang struct statement.

  • Best score: 31
  • Best player score: 47
  • Position: #69 / 69
  • Number of attempts: 4
prepend * to every non-blank line - 6397 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 375
  • Position: #1562 / 1563
  • Number of attempts: 3
Right Align Part of the line - 154 entries

The challenge is to right align a part of the line - this is useful in some SQL queries where it's more clear which are the fields displayed

  • Best score: 19
  • Best player score: 20
  • Position: #26 / 45
  • Number of attempts: 8
TAR archive pretty print - 45 entries

Will you use isk ?

  • Best score: 24
  • Best player score: 25
  • Position: #11 / 16
  • Number of attempts: 6
add line and index - 128 entries

a missed line and index names need to be added

  • Best score: 44
  • Best player score: 45
  • Position: #9 / 32
  • Number of attempts: 16
Aliases for cd - 913 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 244
  • Position: #158 / 160
  • Number of attempts: 4
Wget failed to download redirections - 250 entries

Output of a wget session, where 302 where not properly handled due to certificate problems, has been saved to a file. Keep the correct URLs to start again downloading.

  • Best score: 15
  • Best player score: 16
  • Position: #20 / 73
  • Number of attempts: 17
Prime Numbers - 401 entries

List the first 100 prime numbers.

  • Best score: 34
  • Best player score: 147
  • Position: #90 / 109
  • Number of attempts: 10
Separate the lines - 202 entries

Every other line is mixed up. Separate them into their original texts.

  • Best score: 11
  • Best player score: 38
  • Position: #96 / 98
  • Number of attempts: 4
citizen_hacks_2019_challenge2 - 209 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Position: #100 / 108
  • Number of attempts: 3
Swap values inside brackets - 2551 entries

Easy challenge.

  • Best score: 13
  • Best player score: 154
  • Position: #594 / 594
  • Number of attempts: 2
Unsemantic linewrapping - 964 entries

[Inspired by a blog post I read: https://scott.mn/2014/02/21/semantic_linewrapping/. Text adapted.] Sometimes when editing a Markdown file, I wrap the lines semantically. Instead of inserting a newline at 70 columns (or whatever), or making paragraphs one long line, I put in newlines at a point that seems logical to me. This may seem silly, but it produces better diffs. Semantic linewrapping also makes editing snappier. I can delete, edit or insert sentences easily using linewise operations. Code-oriented text editors like Vim and [REDACTED] are really good at this kind of manipulation. Editing text that hasn't been wrapped semantically is a pain, though:

  • Best score: 9
  • Best player score: 10
  • Position: #160 / 238
  • Number of attempts: 17
V to the i - 4885 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1515 / 1915
  • Number of attempts: 17
Refactor typescript arrow function type - 365 entries

Make arrow function type less verbose and easier to read

  • Best score: 20
  • Best player score: 21
  • Position: #36 / 76
  • Number of attempts: 15
Swap the operands under comparison - 325 entries

Swap the operands under comparison to prevent null pointer exception (at least in java)

  • Best score: 19
  • Best player score: 55
  • Position: #107 / 108
  • Number of attempts: 5
Bad Copy Syntax - 2088 entries

Copy should be from right to left, but sometimes you type it wrong.

  • Best score: 18
  • Best player score: 76
  • Position: #538 / 543
  • Number of attempts: 7
remove lines containing the word "reader" - 3652 entries

easy stuff

  • Best score: 9
  • Best player score: 61
  • Position: #1184 / 1185
  • Number of attempts: 3
Word Blender - 157 entries

The insides of long words seem to have been run through the blender. Can you fix this famous tale, brave knight?

  • Best score: 28
  • Best player score: 1290
  • Position: #58 / 59
  • Number of attempts: 5
citizen_hacks_2019_challenge3 - 43 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 4
  • Best player score: 5
  • Position: #40 / 40
  • Number of attempts: 1
Extract wireshark capture filter - 246 entries

Extract wireshark capture filter from IP plan

  • Best score: 25
  • Best player score: 34
  • Position: #67 / 78
  • Number of attempts: 11
Tables, Functions, Sprocs - 152 entries

In order to load some scripts into my database in the correct order I need to load tables first (t_), then functions (fn_), then stored procedures (sp_). The order of the t_ lines and the order of the sp_ lines should also match. Reorder the lines so they will load correctly.

  • Best score: 10
  • Best player score: 11
  • Position: #43 / 53
  • Number of attempts: 5
Triangular Numbers - 120 entries

Generate the first 50 triangular numbers.

  • Best score: 18
  • Best player score: 21
  • Position: #25 / 32
  • Number of attempts: 6
Hash staircase - 63 entries

Can you use a strategy to come up with this pattern?

  • Best score: 21
  • Best player score: 22
  • Position: #27 / 28
  • Number of attempts: 2
Cool or not? - 881 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 16
  • Position: #128 / 237
  • Number of attempts: 24
multiple cursor alternative - 1592 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 20
  • Position: #203 / 388
  • Number of attempts: 35
From argument to object - 1566 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 30
  • Position: #450 / 471
  • Number of attempts: 13
Copy three lines - 2924 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 39
  • Position: #634 / 647
  • Number of attempts: 9
Array propagate - 354 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 74
  • Position: #120 / 125
  • Number of attempts: 6
Extract argument from function - 2429 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 14
  • Position: #406 / 773
  • Number of attempts: 19
Kolakoski sequence -- level 1 - 95 entries

Generate the Kolakoski sequence as described by its first 75 terms.

  • Best score: 22
  • Best player score: 24
  • Position: #10 / 21
  • Number of attempts: 12
Start coding format - 168 entries

I used to start coding with following format: int main(){ -(cursor here) }

  • Best score: 22
  • Best player score: 23
  • Position: #42 / 76
  • Number of attempts: 5
Search and Replace 0 - 5162 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 13
  • Position: #913 / 1675
  • Number of attempts: 28
Across-Down Flip - 93 entries

Do this instead of the Sunday crossword.

  • Best score: 23
  • Best player score: 28
  • Position: #17 / 29
  • Number of attempts: 11
Preferably without multi-cursor plugin - 584 entries

Originally asked as question on reddit by kpthunder: https://www.reddit.com/r/vim/comments/9fvsro/what_is_the_most_efficient_way_to_go_about/

  • Best score: 30
  • Best player score: 31
  • Position: #43 / 135
  • Number of attempts: 22
Number Sort - 328 entries

sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing

  • Best score: 9
  • Best player score: 10
  • Position: #165 / 173
  • Number of attempts: 6
That hyphen - 2649 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 10
  • Position: #287 / 712
  • Number of attempts: 20
comment and uncomment code inline - 1182 entries

It's very useful to be able to comment out a block of code in a quick edit. And likewise to uncomment the code. This operation often involves multi-line stanzas and even large blocks. With just line-wise navigation and insert mode this would cost you about 4 keystrokes per line. Master this hole of VimGolf and you'll quickly drop your key count in day to day Vim as well.

  • Best score: 9
  • Best player score: 10
  • Position: #229 / 332
  • Number of attempts: 20
Flip the bit - 144 entries

Change the specific 0 to a 1.

  • Best score: 8
  • Best player score: 9
  • Position: #50 / 81
  • Number of attempts: 3
The D a n k Side of the Moon - 70 entries

You're making a vaporwave cover of The Dark Side of the Moon. So for the tracklisting, you want to: 1. Change the track names to v a p o r c a s e 2. Double the track lengths (since you're slowing them down). Well... let's just double the minutes.

  • Best score: 40
  • Best player score: 41
  • Position: #13 / 21
  • Number of attempts: 5
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 120
  • Position: #4258 / 4258
  • Number of attempts: 2
On Being Stylish - 98 entries

Your PR cannot be accepted if you don't follow our corporate style guide.

  • Best score: 33
  • Best player score: 51
  • Position: #20 / 24
  • Number of attempts: 5
Extract HTML option values from tag values - 140 entries

Generate HTML option values from the text in the option tag. If the text contains multiple words, replace the spaces with an underscore and convert all capital letters to small letters.

  • Best score: 34
  • Best player score: 35
  • Position: #16 / 49
  • Number of attempts: 11
Learn some german verbs - 553 entries

The list needs to be structured so we can print in verbatim and feel ok about how it looks.

  • Best score: 21
  • Best player score: 245
  • Position: #135 / 137
  • Number of attempts: 4
Interweave two blocks of text - 692 entries

Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?

  • Best score: 15
  • Best player score: 16
  • Position: #66 / 217
  • Number of attempts: 17
Un"finnish"ed Work - 131 entries

Replace å by a, ä by a and ö by o.

  • Best score: 14
  • Best player score: 34
  • Position: #64 / 65
  • Number of attempts: 3
Todo list specification - 420 entries

The every item on the todo list must be done today. Modify the list to reflect that.

  • Best score: 37
  • Best player score: 38
  • Position: #105 / 187
  • Number of attempts: 9
Subnetting - 146 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 69
  • Position: #41 / 42
  • Number of attempts: 3
Python Hello World! Reformatting - 1052 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: 40
  • Position: #46 / 400
  • Number of attempts: 11
Return the cow - 81 entries

This cow is too verbose. Give it a lesson.

  • Best score: 52
  • Best player score: 132
  • Position: #31 / 32
  • Number of attempts: 5
For all cases. - 180 entries

In this case... change it! :) Watch the line.

  • Best score: 8
  • Best player score: 9
  • Position: #102 / 111
  • Number of attempts: 10
Stairstep digits - 426 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #136 / 154
  • Number of attempts: 12
Format java properties - 106 entries

Format java properties to a different format. The value which is the string following the first '=' cannot & should not change. All periods in the key get replaced with an underscore "_" and get a prefix of "b_".

  • Best score: 27
  • Best player score: 53
  • Position: #38 / 39
  • Number of attempts: 5
Lenny Spiral - 21 entries

Make one lenny into an infinite army of lennys.

  • Best score: 35
  • Best player score: 36
  • Position: #10 / 10
  • Number of attempts: 1
Back to the roots - 80 entries

Johnny has a file with more integers. He wants to change each number with its square root. Can you help him?

  • Best score: 20
  • Best player score: 21
  • Position: #6 / 43
  • Number of attempts: 5
Turn a ninja to case-insensitive [Nn][Ii][Nn][Jj][Aa] regexp! - 75 entries

I bumped into this in a dailywtf code: http://pastebin.com/QApa5ycS I didn't want to translate a string whenever I wanted to be [Ss][Aa][Rr][Cc][Aa][Ss][Tt][Ii][Cc] on slack, so I figured a script (python, sed, whatever) would be helpful. Well, or a few vim keystroke!

  • Best score: 18
  • Best player score: 19
  • Position: #39 / 42
  • Number of attempts: 2
Acute accents - 43 entries

Featuring all 17 lowercase letters with an acute accent digraph. Find a way to automate the digraphs.

  • Best score: 18
  • Best player score: 24
  • Position: #25 / 28
  • Number of attempts: 5
Long prime list - filter version - 48 entries

I've used the maximum input/diff/output size allowed by vimgolf to get a list of integers up to 1460 separated by newlines, and your goal is to only keep the lines containing primes. There are 232 of them I hope some of you will golf vimscript itself to create some function to run as a primality check for each line, which is a good exercise if you haven't done much vimscript yet! You're invited to also try copy-pasting and doing other non-smart text manipulation. Even more interesting would be to see a solution that uses text manipulation to do the filtering! Whether you use vimscript, normal-mode primality checks, or text manipulation, as long as the end result is valid, your answer will be valid! Let's see which method does better here. Best of luck!

  • Best score: 27
  • Best player score: 28
  • Position: #8 / 12
  • Number of attempts: 5
Simple addition - 351 entries

The right side of the equation is already there. We just need the left one now.

  • Best score: 12
  • Best player score: 13
  • Position: #85 / 128
  • Number of attempts: 9
Interactive git rebase changing commands - 201 entries

How to change the action of some commits in git rebase dialog.

  • Best score: 14
  • Best player score: 15
  • Position: #64 / 83
  • Number of attempts: 11
create arrows in a list - 146 entries

Add arrow at same distance

  • Best score: 10
  • Best player score: 11
  • Position: #74 / 81
  • Number of attempts: 7
Adam's challenge - 1043 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 19
  • Position: #136 / 281
  • Number of attempts: 20
Create Leading Zeros - 277 entries

Create leading zeros only for id columns. Please use generic approach!

  • Best score: 23
  • Best player score: 88
  • Position: #88 / 89
  • Number of attempts: 3
sort python functions and methods alphabetically - 40 entries

* sort functions in the python file alphabetically * sort functions within a Class alphabetically * sort Classes alphabetically

  • Best score: 20
  • Best player score: 23
  • Position: #12 / 19
  • Number of attempts: 5
Nesting SASS - 302 entries

Move a block inside another block and indent it

  • Best score: 9
  • Best player score: 23
  • Position: #99 / 102
  • Number of attempts: 4
Forgot to follow the naming convention... - 52 entries

Rename everything like MY_VAR_SOMETHING to MyVarSomething.

  • Best score: 32
  • Best player score: 34
  • Position: #11 / 19
  • Number of attempts: 5
Add to end of each line... kinda - 351 entries

Visual-block mode can be used to add something to the end of each line, even if they are of differing lengths. However, what if it's not quite at the end?

  • Best score: 12
  • Best player score: 21
  • Position: #181 / 181
  • Number of attempts: 4
Combines all items - 322 entries

For each line that starts with the same number I want to combine its contents

  • Best score: 9
  • Best player score: 10
  • Position: #136 / 143
  • Number of attempts: 5
replace 2nd column blanks with values in same column if blank - 258 entries

Where ,SOMELOGB and ,SOMELOGC replaces each /r carriage return if 2nd column is blank. The replace only happens if 2nd column is blank though and should replace up to the non blank row.

  • Best score: 15
  • Best player score: 16
  • Position: #46 / 86
  • Number of attempts: 9
underscore_to_camelCase - 197 entries

Pointy haired boss decided we need to switch to camelCase. Let's get this over with.

  • Best score: 14
  • Best player score: 15
  • Position: #64 / 86
  • Number of attempts: 9
Fun With The Diagonal - 116 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Position: #83 / 86
  • Number of attempts: 4
JSON string rotation - 87 entries

Right value strings are misplaced. Just rotate them! I'm too kind with you guys and didn't included "strings with \" in it"!

  • Best score: 19
  • Best player score: 35
  • Position: #21 / 26
  • Number of attempts: 8
Double and switch - 52 entries

Aaaanother case switcher

  • Best score: 18
  • Best player score: 19
  • Position: #13 / 21
  • Number of attempts: 4
Pretty multi-line bash - 256 entries

Bash line continuations are much prettier when they're column aligned.

  • Best score: 15
  • Best player score: 19
  • Position: #39 / 80
  • Number of attempts: 15
7th Birthday - 237 entries

We have a bunch of numbers written from 0 to 9 in the order present in the text input file. The task is to create 7 by replacing the numbers with dashes.

  • Best score: 19
  • Best player score: 20
  • Position: #29 / 80
  • Number of attempts: 14
Free hyphen! - 199 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 11
  • Position: #95 / 97
  • Number of attempts: 6
C Reformatting - 712 entries

You may use Visual mode... or not. #uppercase

  • Best score: 30
  • Best player score: 156
  • Position: #167 / 167
  • Number of attempts: 2
Paragraph sort - 479 entries

My large herbivorous mammals, Vim commands, and POSIX utilities need to be sorted separately.

  • Best score: 14
  • Best player score: 17
  • Position: #81 / 128
  • Number of attempts: 20
Triangle of arrows - 240 entries

I made this by accident when working on another challenge. How would you go about making this?

  • Best score: 14
  • Best player score: 15
  • Position: #18 / 47
  • Number of attempts: 20
Lower cased and dashed strings - 54 entries

As I have to generate big fixtures files, I wanted to find a way to format input data the way described by start and end files. Especially the lower-cased-and-dashed ids Not so good to find a pure Vim way, that's why I submit this challenge ;)

  • Best score: 59
  • Best player score: 107
  • Position: #23 / 23
  • Number of attempts: 2
Sorting a glossary - 138 entries

Sort a glossary. Glossary head contains a header phrase ending with ':' and glossary body has multi line text indented with a tab.

  • Best score: 6
  • Best player score: 7
  • Position: #82 / 85
  • Number of attempts: 3
Sort files from hosts - 210 entries

Resume files by host. I hope you enjoy with this challenge

  • Best score: 15
  • Best player score: 16
  • Position: #38 / 80
  • Number of attempts: 7
Paragraph breaks - 550 entries

Swap the blank lines and the aaa lines.

  • Best score: 10
  • Best player score: 11
  • Position: #92 / 172
  • Number of attempts: 12
Array of characters - 198 entries

We all copy paste things off the internet, but the syntax doesn't look right. Fix it as fast as possible.

  • Best score: 33
  • Best player score: 52
  • Position: #46 / 50
  • Number of attempts: 5
comments galore - 1101 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 11
  • Position: #380 / 433
  • Number of attempts: 21
Mirrored text - 211 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 16
  • Position: #58 / 76
  • Number of attempts: 11
lipsum lines - 315 entries

Convert a quoted block of text into strings in a list.

  • Best score: 28
  • Best player score: 29
  • Position: #28 / 98
  • Number of attempts: 17
Inner hyphens - 155 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #81 / 90
  • Number of attempts: 5
Angular naming conventions - 359 entries

In angular, a directive name follows the camelCase convention. When the directive is used in an HTML template, the words are instead separated by a dash. Go from to the other the fastest!

  • Best score: 18
  • Best player score: 19
  • Position: #68 / 124
  • Number of attempts: 12
Replace and keep the case - 471 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 27
  • Position: #67 / 123
  • Number of attempts: 20
Sudoku table - 123 entries

Make this simple sudoku table look nice and legible.

  • Best score: 48
  • Best player score: 49
  • Position: #11 / 37
  • Number of attempts: 18
Change attribute to getter - 182 entries

Wrap attributes with a getter method.

  • Best score: 24
  • Best player score: 33
  • Position: #61 / 67
  • Number of attempts: 8
Alsa configuration - 551 entries

I'm tweaking my ~/.asoundrc file!

  • Best score: 22
  • Best player score: 23
  • Position: #61 / 132
  • Number of attempts: 22
Align commas - 1134 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 12
  • Position: #108 / 250
  • Number of attempts: 23
Create bison tokens - 60 entries

Create tokens for bison out of a known list of words

  • Best score: 85
  • Best player score: 116
  • Position: #20 / 21
  • Number of attempts: 3
A grid of punctuation - 156 entries

Create a checkerboard of = and - in an 80×24 grid!

  • Best score: 16
  • Best player score: 17
  • Position: #44 / 65
  • Number of attempts: 9
Hello ${world} - 350 entries

Migrate a JavaScript String from concatenation to ES6 interpolation.

  • Best score: 24
  • Best player score: 110
  • Position: #102 / 104
  • Number of attempts: 4
citizen_hacks_2019_challenge4 - 110 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 5
  • Best player score: 8
  • Position: #68 / 71
  • Number of attempts: 5
Generate a list of numbers - 312 entries

Please generate list of numbers from 1 to 20.

  • Best score: 14
  • Best player score: 15
  • Position: #119 / 144
  • Number of attempts: 8
Python challenge - 211 entries

Change the types of the variables in the list from str to float, while keeping the truncation.

  • Best score: 31
  • Best player score: 87
  • Position: #48 / 51
  • Number of attempts: 7
One to Ten - 2258 entries

Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2

  • Best score: 12
  • Best player score: 32
  • Position: #680 / 688
  • Number of attempts: 9
Change part of a function name in multiple occurrences - 691 entries

Change the middle part of the function name in multiple places, preferably using the next and dot commands.

  • Best score: 14
  • Best player score: 15
  • Position: #132 / 214
  • Number of attempts: 10
citizen_hacks_2019_challenge5 - 158 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 7
  • Position: #74 / 82
  • Number of attempts: 4
Reformat Cura settings - 149 entries

Cura settings are weirdly encoded... After mere replacements, you'll have to enquote two strings (infill_pattern & speed_travel) and dont forget booleans in lowercase. #format #json

  • Best score: 50
  • Best player score: 70
  • Position: #21 / 27
  • Number of attempts: 6
Comparing Schema With Diff - 61 entries

Sometimes databases output things differently one to another. Fixing things that are out of order will make the diffs more usable.

  • Best score: 30
  • Best player score: 53
  • Position: #12 / 12
  • Number of attempts: 4
ASCII Art - 92 entries

how good are you with simple regex?

  • Best score: 10
  • Best player score: 11
  • Position: #38 / 58
  • Number of attempts: 1
simple format (3) - 104 entries

reverse two column values!

  • Best score: 34
  • Best player score: 52
  • Position: #18 / 27
  • Number of attempts: 10
Hail to Alekseï Pajitnov - 57 entries

Wanna play tetris? Don't panic, it's quite long but there's no piece rotation. Little advice: source the file, Luke!

  • Best score: 51
  • Best player score: 64
  • Position: #17 / 19
  • Number of attempts: 6
Around the clock - 220 entries

You'll want to use 2 special commands to complete this. If you haven't yet, read through 'input.txt', especially :help simple-changes

  • Best score: 13
  • Best player score: 14
  • Position: #57 / 81
  • Number of attempts: 7
citizen_hacks_2019_challenge6 - 70 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 3
  • Best player score: 5
  • Position: #54 / 55
  • Number of attempts: 2
snowflake fractal - 62 entries

From step 0 to step 3 of a fractal

  • Best score: 26
  • Best player score: 657
  • Position: #22 / 22
  • Number of attempts: 4
Delete to the end of the current line - 882 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 6
  • Position: #385 / 418
  • Number of attempts: 15
Song Transcription Oops - 267 entries

When transcribing vocal music to Canjo Tab you can start by finding the lowest note and assigning that to zero and working your way up from there. However, without fail, I tend to miscount the notes and when I am near done I find a lower note. I mark this with a "z". This means I have to increase all the previous ones by 1. just a sting of numbers :)

  • Best score: 15
  • Best player score: 21
  • Position: #65 / 82
  • Number of attempts: 11
change parenthesis - 311 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 10
  • Position: #154 / 165
  • Number of attempts: 9
Label grid cells (6x6) - 68 entries

Label the cells of a grid with its coordinates. Rows are labelled top to bottom from A to F, and columns left to right from A to F. Each cell has a coordinate MN, where M is the row letter and N is the column letter.

  • Best score: 31
  • Best player score: 63
  • Position: #23 / 23
  • Number of attempts: 4
Reorder the groups - 1201 entries

Change the order so that the groups of fruit come before the vegetables.

  • Best score: 14
  • Best player score: 137
  • Position: #270 / 270
  • Number of attempts: 2
Add Go XML to structure tags - 211 entries

The Go programming language can directly map XML to structure fields. Add the correct XML tag after each field.

  • Best score: 23
  • Best player score: 24
  • Position: #19 / 77
  • Number of attempts: 14
move titles next to url, in quotes - 565 entries

had trouble with something similar

  • Best score: 19
  • Best player score: 70
  • Position: #148 / 149
  • Number of attempts: 3
O Christmas Tree - 136 entries

Design a macro that makes trees grow (or ASCII triangles, if that's too hard).

  • Best score: 22
  • Best player score: 23
  • Position: #9 / 46
  • Number of attempts: 12
Array transposition - 2481 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 227
  • Position: #461 / 461
  • Number of attempts: 4
convert yml into java pojo field - 879 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 57
  • Position: #230 / 233
  • Number of attempts: 5
Mirror Symmetry - 845 entries

Add backslashes.

  • Best score: 7
  • Best player score: 10
  • Position: #125 / 273
  • Number of attempts: 11
Swap assigned value - 695 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Position: #202 / 263
  • Number of attempts: 14
Kolakoski sequence -- level 2 - 29 entries

This time, the line above describes the line below. Level 1 at: http://www.vimgolf.com/challenges/5c880211ab65cb00065c74eb

  • Best score: 37
  • Best player score: 39
  • Position: #6 / 10
  • Number of attempts: 6
Binary and Increment - 79 entries

Some numbers fun: not only increasing numbers but also increasing binary.

  • Best score: 21
  • Best player score: 39
  • Position: #18 / 24
  • Number of attempts: 10
From A to B - 628 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 17
  • Position: #101 / 163
  • Number of attempts: 21
Cartesian product - 277 entries

{1,2,3,4,5} X {1,2,3,4,5}

  • Best score: 24
  • Best player score: 157
  • Position: #101 / 102
  • Number of attempts: 3
Entries sort - 111 entries

It cames to my mind a weird idea : sorting parts of my .vimrc. Take few minutes to sort out this, it's easy !

  • Best score: 14
  • Best player score: 15
  • Position: #26 / 45
  • Number of attempts: 7
Simple format (2) - 365 entries

try again!

  • Best score: 23
  • Best player score: 24
  • Position: #25 / 73
  • Number of attempts: 22
Collect List - 4342 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 86
  • Position: #1199 / 1200
  • Number of attempts: 3
VimGolfNight - 603 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 13
  • Position: #312 / 356
  • Number of attempts: 19
Rail fence transposition cipher - 112 entries

Solve a rail fence transposition cipher using vim. This ciphertext was created using two rails. Use vim to transpose the text and recover the original quote.

  • Best score: 14
  • Best player score: 15
  • Position: #13 / 29
  • Number of attempts: 12
camel riding - 817 entries

add a prefix on some camelCase variables

  • Best score: 15
  • Best player score: 16
  • Position: #155 / 285
  • Number of attempts: 17
Land of the Lost - 100 entries

Enter the tabs below the lyrics

  • Best score: 25
  • Best player score: 74
  • Position: #34 / 35
  • Number of attempts: 3
readability - 342 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 19
  • Position: #139 / 156
  • Number of attempts: 9
Sort with uniq OpenEmbedded package names - 64 entries

For each line take 4th dirname of path. For example: "alsa-utils", "gawk-3.1.5", ... But! But if previous result is "files", take 3rd dirname instead. For example: "mktemp", "mklibs" ... If version is present in package name (dash is the separator character), take it. For example: "apt-0.9.9.4" prevails over "apt". And finally, use sort -u to get unique names!

  • Best score: 32
  • Best player score: 35
  • Position: #8 / 17
  • Number of attempts: 10
remove all lines in first part - 226 entries

From the second part, remove all lines in the first part. It can be useful when you have done something from a long list, you want to know what is not done yet!

  • Best score: 13
  • Best player score: 34
  • Position: #69 / 70
  • Number of attempts: 1
Fill visual area - 124 entries

Just have fun!

  • Best score: 20
  • Best player score: 28
  • Position: #15 / 41
  • Number of attempts: 16
ASCII box - 379 entries

Don't forget to fix typos!

  • Best score: 23
  • Best player score: 24
  • Position: #58 / 112
  • Number of attempts: 13
Remove hard line breaks - 89 entries

Text files with Hard breaks are not good for e-readers. We need remove all hard line breaks and have long lines.

  • Best score: 10
  • Best player score: 21
  • Position: #33 / 38
  • Number of attempts: 9
Custom McCarthy sequence - 65 entries

Generate the first one hundred and twenty numbers (starting with n=1). See here for some inspiration: http://en.wikipedia.org/wiki/McCarthy_91_function

  • Best score: 15
  • Best player score: 17
  • Position: #10 / 21
  • Number of attempts: 9
Conway sequence - 30 entries

Generate the the first fifteen numbers. See here for more information: http://en.wikipedia.org/wiki/Look-and-say_sequence

  • Best score: 43
  • Best player score: 64
  • Position: #23 / 23
  • Number of attempts: 1
Winning streak - 174 entries

Make the number on each line equal the consecutive L's or W's.

  • Best score: 21
  • Best player score: 25
  • Position: #10 / 55
  • Number of attempts: 17
Sorting database text output - 236 entries

Sometimes it is nice to be able to quickly take column-formatted text output from the SQL command line and turn it into a list of useful data. In this case we want a unique, sorted list of the values from the second column combined into one comma-separated list. What is the fewest strokes you can do this in?

  • Best score: 24
  • Best player score: 33
  • Position: #85 / 87
  • Number of attempts: 6
Config Sections - 81 entries

Section me!

  • Best score: 43
  • Best player score: 45
  • Position: #11 / 24
  • Number of attempts: 12
Test everything! - 214 entries

... and build the desired input data structure. Transform a list of values into a non-trivial format.

  • Best score: 21
  • Best player score: 46
  • Position: #57 / 59
  • Number of attempts: 4
Condensed Cases - 829 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 32
  • Position: #249 / 255
  • Number of attempts: 5
Square numbers - 142 entries

Boring math puzzle.

  • Best score: 16
  • Best player score: 35
  • Position: #36 / 47
  • Number of attempts: 8
Pretty format for variable declarations - 188 entries

Project standards demand the equal signs must be aligned for better readability.

  • Best score: 13
  • Best player score: 19
  • Position: #58 / 70
  • Number of attempts: 1
Simple Maths - 89 entries

Not much to say, discover by yourself!

  • Best score: 26
  • Best player score: 28
  • Position: #9 / 32
  • Number of attempts: 11
C to VimDict - 65 entries

Convert a C data structure to a Vimscript dictionary.

  • Best score: 39
  • Best player score: 40
  • Position: #9 / 18
  • Number of attempts: 5
range(10) digit rotation - 48 entries

This is a data generator challenge or some kind of gift..

  • Best score: 18
  • Best player score: 19
  • Position: #18 / 25
  • Number of attempts: 4
I forgot quotes - 16239 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1256 / 4225
  • Number of attempts: 48
Shift down - 238 entries

Number words are back.

  • Best score: 19
  • Best player score: 20
  • Position: #31 / 72
  • Number of attempts: 14
Replace Parameter with Explicit Methods - 103 entries

Implementing the methods of a Java Interface

  • Best score: 33
  • Best player score: 46
  • Position: #23 / 31
  • Number of attempts: 8
vim1001 - 331 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 31
  • Position: #102 / 113
  • Number of attempts: 12
Roman numerals - 107 entries

Use the substitutions on top to convert unary to Roman numerals.

  • Best score: 17
  • Best player score: 19
  • Position: #15 / 33
  • Number of attempts: 11
Count both ways - 1053 entries

Right AND down.

  • Best score: 13
  • Best player score: 14
  • Position: #92 / 362
  • Number of attempts: 14
Suffix sort - 301 entries

Sort from the end of the line, as if the letters in each line were reversed.

  • Best score: 19
  • Best player score: 20
  • Position: #16 / 69
  • Number of attempts: 14
Change name of a variable - 197 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: 10
  • Position: #143 / 148
  • Number of attempts: 7
Lisp Condense - 485 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 14
  • Position: #92 / 163
  • Number of attempts: 10
Gray area - 765 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 40
  • Position: #277 / 277
  • Number of attempts: 4
NBCU Weekly Challenge - #0 - 164 entries

One of our favorites lines here at NBCU! p.s. The first version of #0 was deleted due to me copy/pasting a HTML entity. Congrats to the one who figured that out, you are a true ninja warrior!

  • Best score: 28
  • Best player score: 31
  • Position: #33 / 62
  • Number of attempts: 12
Refactor static member invocation - 235 entries

Someone used a static method. Refactor the method into a static import while fixing the assertion.

  • Best score: 28
  • Best player score: 29
  • Position: #33 / 68
  • Number of attempts: 20
Comparing scores - 148 entries

If Alice and Bob both did the challenge, put their entries together in the top paragraph, so we can compare their scores more easily.

  • Best score: 18
  • Best player score: 21
  • Position: #16 / 37
  • Number of attempts: 19
Do you demand a shrubbery? - 1208 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 18
  • Position: #161 / 310
  • Number of attempts: 19
Don't know what this is - 2070 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 12
  • Position: #247 / 596
  • Number of attempts: 17
Where should I put the Newline? - 912 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Position: #423 / 451
  • Number of attempts: 6
Vim tetris - 390 entries

Vim can play tetris too!

  • Best score: 21
  • Best player score: 166
  • Position: #107 / 108
  • Number of attempts: 3
Five Pillars - 86 entries

Arrange all words in a table with 5 columns. The minimal space between words in columns is 2 spaces. Columns do have varying width.

  • Best score: 41
  • Best player score: 83
  • Position: #27 / 28
  • Number of attempts: 5
Mess in revision history - 1238 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 95
  • Position: #260 / 260
  • Number of attempts: 4
Shuffle puzzle - 379 entries

Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.

  • Best score: 13
  • Best player score: 14
  • Position: #54 / 109
  • Number of attempts: 15
HTML formatting: vertical alignment for readability - 101 entries

We did this a VimGolf challenge at work and now that we have finished I want to see if you guys can come up with something even better than we could. Our best solution was 44 keystrokes.

  • Best score: 32
  • Best player score: 227
  • Position: #39 / 39
  • Number of attempts: 2
Write Setters and Getters for PHP - 103 entries

Just simple automation of writing Setters and Getters like Doctrine might use.

  • Best score: 102
  • Best player score: 149
  • Position: #26 / 36
  • Number of attempts: 11
Split the words - 399 entries

Add the spaces manually if you must, but if you use Vim's spell checking feature wisely, I think you'll save a LARGE number of strokes.

  • Best score: 18
  • Best player score: 91
  • Position: #115 / 115
  • Number of attempts: 2
Under the cupola - 68 entries

Taking some liberty about the name and plot of the Stephen King's famous novel (and TV series) to make this challenge. Are you able to recreate graphically the key phrase of the story? (I think is gonna be hard!)

  • Best score: 33
  • Best player score: 40
  • Position: #17 / 21
  • Number of attempts: 6
Letter case trickery - 1688 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 10
  • Position: #180 / 526
  • Number of attempts: 21
Untangle my tail, please! - 76 entries

You know, this words were playing to chase their tails and Oops! What happened? Now we have a complete mess, their tails are totally tangled, can you please help them to untangle their tails?

  • Best score: 16
  • Best player score: 20
  • Position: #35 / 37
  • Number of attempts: 5
Hanging Indent for Footnotes - 91 entries

Format this footnote (in kramdown syntax) so that it has hanging indent.

  • Best score: 17
  • Best player score: 28
  • Position: #29 / 32
  • Number of attempts: 5
Recursive Cowsay - 77 entries

Convert 'cowsay' statement to recursive output

  • Best score: 33
  • Best player score: 56
  • Position: #17 / 21
  • Number of attempts: 6
Sort the VimGolf challenges by popularity - 369 entries

"Sort by popularity" is a good order to play the challenges. Not perfect, but you could do a lot worse. ;) Input is a sample copy-pasted from vimgolf.com. Some of the challenge names have digits that will get in your way, so read ":help :sort" for hints on sorting with a regex. When you're done, try your solution on the full list!

  • Best score: 15
  • Best player score: 42
  • Position: #106 / 110
  • Number of attempts: 7
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1195 / 3991
  • Number of attempts: 9
Assign list - 226 entries

Assign list elements to matrix

  • Best score: 30
  • Best player score: 36
  • Position: #28 / 64
  • Number of attempts: 24
Draw the Go board - 179 entries

which is a 19×19 lines board. Here we use ascii characters only for simplicity. See diff file to get a sense. (See also http://en.wikipedia.org/wiki/Go_(game))

  • Best score: 50
  • Best player score: 82
  • Position: #49 / 53
  • Number of attempts: 8
paste indent correction - JS - 124 entries

You copy some javascript code from a website and paste it into vim, it does not look good!

  • Best score: 16
  • Best player score: 17
  • Position: #49 / 62
  • Number of attempts: 8
It's a factor - 128 entries

Flaunt your macro prowess by factoring some numbers. Too hard? It takes less than 30 strokes, I promise.

  • Best score: 24
  • Best player score: 150
  • Position: #40 / 40
  • Number of attempts: 4
Delete unwanted lines - 450 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 10
  • Position: #211 / 236
  • Number of attempts: 9
Parsing with CSV: Unify lines and result. - 198 entries

col1;col2;col3;col4 A;1;4;5 A;3;4; A;1;4; # New output: col1;col2;col3;col4 A;1(2x);3;4(3x);5 any ideas?

  • Best score: 21
  • Best player score: 22
  • Position: #46 / 80
  • Number of attempts: 10
Minimalist Limerick - 539 entries

Reproduce this lovely poem.

  • Best score: 30
  • Best player score: 56
  • Position: #171 / 177
  • Number of attempts: 7
Coordinates placeholder - 95 entries

Place coordinates instead of target search.

  • Best score: 22
  • Best player score: 23
  • Position: #18 / 44
  • Number of attempts: 8
Define to require - 143 entries

When JSHint is enabled, there's a rule that doesn't let you have more than 6 arguments in a function, so the moment you need to add a 7th argument, you need to do a refactoring.

  • Best score: 62
  • Best player score: 291
  • Position: #52 / 52
  • Number of attempts: 4
REDRUM - 202 entries

If you remember "The Shinning", the first time you saw the bloody word REDRUM you probably thinked "What the Hell is that?" Well, then you know that you need a little help from a looking-glass to make sense of it. Now it's time to use vim like a mirror to reveal the message.

  • Best score: 14
  • Best player score: 19
  • Position: #49 / 70
  • Number of attempts: 11
Enumerate words - 279 entries

Enumerate the unique words in order.

  • Best score: 23
  • Best player score: 42
  • Position: #94 / 96
  • Number of attempts: 6
Circle in a square - 193 entries

Probably looks more like "Egg in a rectangle" in most fonts, but it's actually 23x23.

  • Best score: 23
  • Best player score: 66
  • Position: #43 / 56
  • Number of attempts: 13
Transposition - 126 entries

Transpose the original lines in separate columns, one for each line.

  • Best score: 31
  • Best player score: 36
  • Position: #12 / 34
  • Number of attempts: 17
Block Fun 1 - 245 entries

Manipulate the columns to produce desired result.

  • Best score: 14
  • Best player score: 15
  • Position: #22 / 79
  • Number of attempts: 19
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: 21
  • Position: #100 / 100
  • Number of attempts: 4
Prefixes and suffixes - 668 entries

Generate all prefixes of "vimchallenge", then all suffixes.

  • Best score: 17
  • Best player score: 206
  • Position: #207 / 207
  • Number of attempts: 4
Resort and deup a CSV list - 187 entries

I'm always adding items to a sorted list. There has to be a better way dedup and resort the lists. There are multiple lists with varying lengths to discourage manual sorting. Also Australia's animals are weird.

  • Best score: 44
  • Best player score: 479
  • Position: #47 / 47
  • Number of attempts: 2
Sort by sum of numbers in a line(?) - 75 entries

The lines with the biggest sums need to be at the top. The sums are on the right, which makes life hard. Maybe you can find a feature that will do all the work for you...

  • Best score: 15
  • Best player score: 16
  • Position: #40 / 42
  • Number of attempts: 3
abcd > a b c d - 309 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 16
  • Position: #216 / 231
  • Number of attempts: 8
[Real World] PHP To Markdown - 44 entries

Fun refactoring I had to do in the real world. This presents several challenges: - How to create a table that fits the informations exactly - How to keep track of two informations per line while doing the refactoring - Generate the link from the actual text Have fun!

  • Best score: 141
  • Best player score: 178
  • Position: #10 / 11
  • Number of attempts: 5
Checkerboard case pattern - 186 entries

All the squares are white. Make some of them black. But only the right ones.

  • Best score: 15
  • Best player score: 16
  • Position: #21 / 63
  • Number of attempts: 13
Rule 110 - 60 entries

Compute the next 5 iterations of Rule 110 with the given starting state. https://en.wikipedia.org/wiki/Rule_110

  • Best score: 43
  • Best player score: 75
  • Position: #15 / 16
  • Number of attempts: 3
Create a pandoc compatible table - 241 entries

In [this vimcast][1], a featured gist from Tim Pope shows how to quickly make a simple table structure. How fast can you convert it to pandoc's markdown style? [1]: http://vimcasts.org/episodes/aligning-text-with-tabular-vim/

  • Best score: 32
  • Best player score: 76
  • Position: #55 / 58
  • Number of attempts: 4
Santa's naughty / nice list - 113 entries

Christmas is here and Santa hasn't decided who's naughty or nice yet. He's given a list of names to his programmer friend to quickly split the children into naughty and nice. Hint: There's a hidden pattern that might be familiar.

  • Best score: 39
  • Best player score: 45
  • Position: #17 / 29
  • Number of attempts: 9
Printable ASCII characters - 171 entries

From a blank input, print all 95 printing ASCII characters one per line, from space to tilde.

  • Best score: 22
  • Best player score: 43
  • Position: #35 / 47
  • Number of attempts: 9
A simple change - 484 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 169
  • Position: #198 / 199
  • Number of attempts: 3
If-then-else regexp - 62 entries

Rules: - golf is never following golf - vim comes first! Drawing a finite-state machine diagram could help. #regexp

  • Best score: 37
  • Best player score: 38
  • Position: #14 / 16
  • Number of attempts: 3
Presidential Sorting - 65 entries

Given a nice CSV formatted arrangement of the Presidents of the United States, we need to print out an alphabetical list in pretty columns. Prove that vim can conquer this basic Excel task!

  • Best score: 40
  • Best player score: 62
  • Position: #24 / 28
  • Number of attempts: 5
Simple Maths 2 - 54 entries

Time to practice expression register! #maths #linear

  • Best score: 17
  • Best player score: 32
  • Position: #16 / 19
  • Number of attempts: 5
Tiny column alignment - 85 entries

Align using the four blocks, don't forget to lowercase and have fun!

  • Best score: 33
  • Best player score: 48
  • Position: #17 / 26
  • Number of attempts: 11
The Quick Brown Fox Jumps Over The Lazy Vim - 456 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: 10
  • Position: #104 / 199
  • Number of attempts: 11
The name of the game - 696 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 12
  • Position: #331 / 369
  • Number of attempts: 12
lamb had a little Mary - 659 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 69
  • Position: #177 / 179
  • Number of attempts: 4
SFD-ROC: Pipe Dreams - 137 entries

Move the pipes so they match the output.

  • Best score: 12
  • Best player score: 13
  • Position: #14 / 49
  • Number of attempts: 14
Chucking wood - 152 entries

An exercise in compressing repetitive text. For this challenge, any entry that uses keys outside the main row (such as arrow keys, Home, End, Delete, etc.) will be removed. (Esc is OK, though you should be using C-[ anyway.)

  • Best score: 51
  • Best player score: 84
  • Position: #53 / 54
  • Number of attempts: 3
Stairs Indenting - 502 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 13
  • Position: #62 / 202
  • Number of attempts: 18
ASCII-art Histogram - 337 entries

Create an ASCCI-art histogram for the given numbers. Make sure not to leave trailing whitespaces. Thanks to VimGolf I recently discovered a feature of Vim thAT blew my mind. I'm curious to see what real ninjas make of it ;-)

  • Best score: 33
  • Best player score: 128
  • Position: #59 / 60
  • Number of attempts: 3
Python to Ruby - 217 entries

Convert this Python code to Ruby. NOTE: This program likely won't run.

  • Best score: 24
  • Best player score: 58
  • Position: #62 / 63
  • Number of attempts: 3
maximun and minimun - 88 entries

Find the maximum and minimum of the rows.

  • Best score: 50
  • Best player score: 77
  • Position: #24 / 28
  • Number of attempts: 5
Convert pandoc unordered list to a numbered list - 215 entries

I know it's possible to use #. in pandoc to auto-generate numbered lists, but then it's not easy to tell how many items there are when reading it in Markdown. How fast can you make the switch?

  • Best score: 20
  • Best player score: 24
  • Position: #31 / 62
  • Number of attempts: 22
SFD-ROC: ROT13 Phonics - 119 entries

A is for apple, b is for ball, etc... This familiar phonics poem has been rotated 13 characters. Make the letter match the word.

  • Best score: 6
  • Best player score: 24
  • Position: #76 / 79
  • Number of attempts: 6
Let's play some Ivmgolf - 1163 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 13
  • Position: #431 / 459
  • Number of attempts: 9
citizen_hacks_2019_challenge1 - 59 entries

For the Citizen Hacks 2019 Vim competition

  • Best score: 5
  • Best player score: 6
  • Position: #46 / 49
  • Number of attempts: 3
you're stuck on jQuery < 1.7 - 401 entries

replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`

  • Best score: 25
  • Best player score: 26
  • Position: #38 / 116
  • Number of attempts: 23
Alphabet soup - 467 entries

Create a column of all alphabet characters organized in a funky way

  • Best score: 25
  • Best player score: 26
  • Position: #61 / 113
  • Number of attempts: 18
calculations - 343 entries

Complete these (weird) calculations.

  • Best score: 38
  • Best player score: 39
  • Position: #31 / 72
  • Number of attempts: 21
Enharmonic Equivalents - 74 entries

Transform # and b to digraphs

  • Best score: 18
  • Best player score: 23
  • Position: #37 / 41
  • Number of attempts: 6
Flip the chessboard - 124 entries

White's turn is over. Flip the board to black's perspective. I added coordinates to frustrate you.

  • Best score: 18
  • Best player score: 35
  • Position: #28 / 34
  • Number of attempts: 9
replacing each line of a block selection - 3068 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 19
  • Position: #239 / 789
  • Number of attempts: 14
Switch function arguments - 2229 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #351 / 684
  • Number of attempts: 22
Append semicolon after expressions - 1087 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 12
  • Position: #272 / 426
  • Number of attempts: 16
Remove noise from HTTP log - 759 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

  • Best score: 15
  • Best player score: 16
  • Position: #206 / 281
  • Number of attempts: 17
constructor - 198 entries

coding a constructor for a simple class

  • Best score: 59
  • Best player score: 391
  • Position: #61 / 62
  • Number of attempts: 5
Remove semicolons after expressions - 686 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 7
  • Position: #155 / 270
  • Number of attempts: 9
un-C-escape string - 63 entries

Convert escape sequences to characters

  • Best score: 12
  • Best player score: 14
  • Position: #54 / 55
  • Number of attempts: 2
switch variable - 5128 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 77
  • Position: #1760 / 1764
  • Number of attempts: 6
The meaning - 588 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 6
  • Position: #354 / 368
  • Number of attempts: 6
Calculate the table totals - 169 entries

Go ahead... commit the treachery of using vim as a spreadsheet.

  • Best score: 33
  • Best player score: 200
  • Position: #48 / 48
  • Number of attempts: 4
Ugly spreadsheet copy/paste to CSV - 1046 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 262
  • Position: #198 / 199
  • Number of attempts: 3
Multiplication table. - 240 entries

Create a multiplication table.

  • Best score: 31
  • Best player score: 395
  • Position: #69 / 70
  • Number of attempts: 3
Sort the cardinal numbers - 328 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 176
  • Position: #151 / 151
  • Number of attempts: 2
Make it more readable - 2039 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 70
  • Position: #657 / 658
  • Number of attempts: 3
remove dupes from array - 1377 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 170
  • Position: #341 / 341
  • Number of attempts: 2
Alphabetize the directory - 331 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 1030
  • Position: #104 / 104
  • Number of attempts: 4
Complete the hex array data - 215 entries

Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]

  • Best score: 23
  • Best player score: 1828
  • Position: #76 / 76
  • Number of attempts: 4
Complete the hex array data (Part II) - 192 entries

Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]

  • Best score: 20
  • Best player score: 26
  • Position: #57 / 72
  • Number of attempts: 12
Sort entries based on date - 432 entries

Sort some entries in a Ledger-file based on date.

  • Best score: 11
  • Best player score: 12
  • Position: #72 / 121
  • Number of attempts: 20
Here, piggy, piggy... - 88 entries

Youay owknay atwhay otay oday...

  • Best score: 68
  • Best player score: 101
  • Position: #21 / 25
  • Number of attempts: 6
imports alignment (python) - 725 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 91
  • Position: #203 / 203
  • Number of attempts: 2
Generate Fibonacci Numbers - 334 entries

Use your super vim powers to generate Fibonacci Numbers.

  • Best score: 19
  • Best player score: 20
  • Position: #47 / 108
  • Number of attempts: 17
Before there was Farmville... - 111 entries

There was old MacDonald. For my toddler. The first Vim sing-a-long?

  • Best score: 156
  • Best player score: 1753
  • Position: #51 / 52
  • Number of attempts: 5
Reformat long lines - 388 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 20
  • Position: #88 / 141
  • Number of attempts: 10
Generate English Alphabets - 540 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 40
  • Position: #187 / 216
  • Number of attempts: 15
Overall Vimgolf Rank - 224 entries

Suppose you are trying to figure out what your overall rank is at Vimgolf(the sum of all the ranks you got), and as a Vim ninja you decided to use Vim to do the job. Your solution should work for every Vimgolf profile page(The actual input file for this challenge is my Vimgolf profile page). So, direct answer insertion is considered cheating.

  • Best score: 21
  • Best player score: 49
  • Position: #55 / 61
  • Number of attempts: 7
Numbering a List - 1969 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 51
  • Position: #645 / 661
  • Number of attempts: 14
The Universal Declaration of Human Rights, Article 1 - 185 entries

Somebody's got this slightly muddled up. See how quickly you can fix it. (I made this to experiment with buffers. I'm not actually sure whether this is faster with buffers or without.)

  • Best score: 24
  • Best player score: 181
  • Position: #76 / 77
  • Number of attempts: 2
Getters & Setters: Java - 219 entries

Boilerplate getters & setters - it's a tedious fact of life in Java, and probably the only thing that still pulls me back to an IDE. Perhaps someone knows a fast, pure vim way...

  • Best score: 89
  • Best player score: 354
  • Position: #62 / 62
  • Number of attempts: 2
Solve the Sokoban - 202 entries

A wink for all Vimgolfers that play Nethack too.

  • Best score: 25
  • Best player score: 27
  • Position: #15 / 76
  • Number of attempts: 13
Ruby 1.9 hashes - 1313 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: 13
  • Position: #195 / 419
  • Number of attempts: 19
Assignment Alignment - 909 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 65
  • Position: #225 / 226
  • Number of attempts: 5
Shebangs for all - 2103 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: 77
  • Position: #532 / 533
  • Number of attempts: 3
A Simple One - 1093 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 10
  • Position: #617 / 681
  • Number of attempts: 8
82 bottles of beer on the wall - 329 entries

Take them down. (sorry, only 82 bottles because the problem size is limited!)

  • Best score: 106
  • Best player score: 392
  • Position: #147 / 149
  • Number of attempts: 2
Reverse and count - 501 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 38
  • Position: #167 / 181
  • Number of attempts: 12
Letters are numbers - 179 entries

Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?

  • Best score: 20
  • Best player score: 169
  • Position: #78 / 78
  • Number of attempts: 4
Another Mixed-Up Haiku - 280 entries

VimGolf ... a perfect evening?

  • Best score: 21
  • Best player score: 54
  • Position: #89 / 92
  • Number of attempts: 6
Ruby 1.9 compat - 664 entries

Remember when Ruby supported `when <expr> :`? Well, it doesn't in 1.9, so let's make sure we use `then`, without ruining our lovely new hash syntax!

  • Best score: 14
  • Best player score: 15
  • Position: #126 / 242
  • Number of attempts: 9
Indentation - 575 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 20
  • Best player score: 21
  • Position: #17 / 183
  • Number of attempts: 14
Hatsuyume - 582 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 15
  • Best player score: 16
  • Position: #22 / 194
  • Number of attempts: 18
Turn this csv list into queries - 278 entries

Transform each line of this csv file into a MySQL-ready INSERT query.

  • Best score: 98
  • Best player score: 187
  • Position: #99 / 104
  • Number of attempts: 6
Dumb to smart - 116 entries

Turn dumb quote to smart vim's way.

  • Best score: 27
  • Best player score: 28
  • Position: #13 / 60
  • Number of attempts: 8
The Cake is a Lie - 1418 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 9
  • Position: #297 / 543
  • Number of attempts: 17
Context insensitive completion 0 - 607 entries

Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.

  • Best score: 6
  • Best player score: 7
  • Position: #138 / 256
  • Number of attempts: 5
Remove Accent off the Letter - 158 entries

Remove all the accent from extremely accented statements.

  • Best score: 37
  • Best player score: 59
  • Position: #18 / 54
  • Number of attempts: 18
Context Insensitive completion 1 - 533 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 19
  • Position: #192 / 252
  • Number of attempts: 15
Almost encrypted - 211 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 6
  • Position: #143 / 149
  • Number of attempts: 4
Make Fancy Header - 1109 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 16
  • Position: #135 / 356
  • Number of attempts: 19
Linear congruential generator - 157 entries

http://en.wikipedia.org/wiki/Linear_congruential_generator

  • Best score: 28
  • Best player score: 95
  • Position: #52 / 57
  • Number of attempts: 8
Reformat a C golf submission - 681 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 126
  • Position: #222 / 222
  • Number of attempts: 4
Remember FizzBuzz? - 826 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 257
  • Position: #207 / 210
  • Number of attempts: 6
Change the content of a string - 1803 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #366 / 656
  • Number of attempts: 15
Sort and add attributes - 1598 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 34
  • Position: #424 / 617
  • Number of attempts: 6
Simple text editing with Vim - 13644 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 204
  • Position: #3901 / 3906
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7694 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 32
  • Position: #194 / 1893
  • Number of attempts: 15
skewcy-bot
Github:

entered into 352 challenges

contributed 0 challenges