Played Challenges
Lowercase first characters - 487 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: 39
- Position: #88 / 183
- Number of attempts: 5
simple replacements - 1753 entries
The goal is to see the replacement commands in action.
- Best score: 19
- Best player score: 23
- Position: #187 / 380
- Number of attempts: 8
Inverting Lines - 1900 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 10
- Position: #60 / 511
- Number of attempts: 1
Modernise code - 1400 entries
Modernise and clean up some C++ code.
- Best score: 34
- Best player score: 48
- Position: #217 / 323
- Number of attempts: 3
HS Final exam vimgolf - 897 entries
Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.
- Best score: 21
- Best player score: 27
- Position: #124 / 236
- Number of attempts: 2
Change double quotes to single quotes, but with a twist - 309 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: 54
- Position: #55 / 56
- Number of attempts: 1
Python: Def to Lambda - 455 entries
LAMBDA!!!
- Best score: 19
- Best player score: 23
- Position: #122 / 156
- Number of attempts: 4
Multiline to Single Line - 700 entries
Convert a multiline, indented file to a single line with no whitespace
- Best score: 5
- Best player score: 5
- Position: #98 / 302
- Number of attempts: 3
From a Thunderlink to a Markdown link - 764 entries
ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.
- Best score: 18
- Best player score: 27
- Position: #140 / 169
- Number of attempts: 1
Yo To Hello - 1130 entries
Simply Turn Yo To Hello
- Best score: 10
- Best player score: 10
- Position: #288 / 524
- Number of attempts: 3
prepend * to every non-blank line - 6308 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 11
- Position: #711 / 1537
- Number of attempts: 4
One number per line - 18727 entries
Just give me the numbers.
- Best score: 14
- Best player score: 21
- Position: #2571 / 3864
- Number of attempts: 2
V to the i - 4802 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 8
- Position: #1473 / 1893
- Number of attempts: 2
Add semicolons - 10852 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 14
- Position: #2160 / 3063
- Number of attempts: 1
Box it - 7905 entries
Create a box around a line.
- Best score: 21
- Best player score: 48
- Position: #1772 / 1876
- Number of attempts: 2
From argument to object - 1508 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: 22
- Position: #400 / 458
- Number of attempts: 1
Every other line - 2910 entries
AaAaAaA
- Best score: 12
- Best player score: 21
- Position: #640 / 703
- Number of attempts: 1
Extract argument from function - 2357 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 23
- Position: #734 / 753
- Number of attempts: 1
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #662 / 1624
- Number of attempts: 4
That hyphen - 2595 entries
"vim vi improved"
- Best score: 9
- Best player score: 15
- Position: #618 / 701
- Number of attempts: 3
Just the middle - 11454 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 7
- Position: #1460 / 4197
- Number of attempts: 3
Team names - 1836 entries
The team names are misspelled.
- Best score: 16
- Best player score: 17
- Position: #321 / 588
- Number of attempts: 3
Adam's challenge - 984 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: 28
- Position: #255 / 270
- Number of attempts: 1
One to Ten - 2219 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: 23
- Position: #618 / 672
- Number of attempts: 2
Delete to the end of the current line - 812 entries
Delete to the end of the current line, but keep the character under the cursor.
- Best score: 5
- Best player score: 6
- Position: #342 / 391
- Number of attempts: 2
convert yml into java pojo field - 857 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: 32
- Position: #158 / 227
- Number of attempts: 1
-a-b-c- - 3213 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 18
- Position: #1055 / 1137
- Number of attempts: 1
Words in parens - 12935 entries
We should all ace this, right?
- Best score: 13
- Best player score: 17
- Position: #2751 / 3963
- Number of attempts: 1
Vertical Limit - 2538 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 29
- Position: #647 / 754
- Number of attempts: 3
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 18
- Position: #1648 / 1748
- Number of attempts: 1
Reformat/Refactor a Golfer Class - 6982 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 68
- Position: #1617 / 1706
- Number of attempts: 2
kafang plays vimgolf
Twitter: @KafangV
I used this account for vimgolf, maybe I am going to follow some people now and then