Played Challenges
Insert column data on Confluence-style table - 458 entries
Add ip addresses into new "IP" column based on the last digits from the "Server" column
- Best score: 33
- Best player score: 36
- Position: #31 / 109
- Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 554 entries
Surround the 'z' character with brackets, quotes, and print as formatted string.
- Best score: 17
- Best player score: 17
- Position: #45 / 309
- Number of attempts: 2
Easier Align - 406 entries
Align the columns of a markdown table
- Best score: 51
- Best player score: 136
- Position: #36 / 96
- Number of attempts: 2
Paste a column after a column - 2537 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 14
- Best player score: 36
- Position: #434 / 553
- Number of attempts: 1
Tabbed Table to Python Array - 734 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: 55
- Position: #49 / 179
- Number of attempts: 6
HS exam question - 1589 entries
Convert the data to a python dictionary
- Best score: 47
- Best player score: 48
- Position: #27 / 417
- Number of attempts: 6
Many duplicates - 1445 entries
Quick and easy
- Best score: 7
- Best player score: 8
- Position: #136 / 468
- Number of attempts: 4
2 quick changes and a numbered list - 647 entries
The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.
- Best score: 37
- Best player score: 38
- Position: #41 / 154
- Number of attempts: 5
delete swap - 1786 entries
delete all swap
- Best score: 5
- Best player score: 5
- Position: #99 / 555
- Number of attempts: 5
Put a newline after every 10 lines in vim - 1657 entries
Goal is to put a newline after every 10 lines in vim.
- Best score: 10
- Best player score: 11
- Position: #143 / 556
- Number of attempts: 5
hello-world-vimgolf - 2499 entries
Simple number generation
- Best score: 10
- Best player score: 11
- Position: #402 / 708
- Number of attempts: 2
Fill in the chess board - 959 entries
Fill in the name of each square using its file (a-h) and rank (1-8).
- Best score: 19
- Best player score: 29
- Position: #72 / 185
- Number of attempts: 8
Create a diamond comment - 337 entries
Encapsulate the text in a diamond pattern.
- Best score: 27
- Best player score: 88
- Position: #65 / 75
- Number of attempts: 3
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: 41
- Position: #101 / 183
- Number of attempts: 2
Increment number for every 10 lines - 230 entries
The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column
- Best score: 25
- Best player score: 64
- Position: #49 / 64
- Number of attempts: 4
Inverting Lines - 1900 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 10
- Position: #167 / 511
- Number of attempts: 4
Making 3 line function a one liner. - 328 entries
Simple challenge for frequent action while programming.
- Best score: 4
- Best player score: 4
- Position: #99 / 205
- Number of attempts: 2
Modernise code - 1400 entries
Modernise and clean up some C++ code.
- Best score: 34
- Best player score: 35
- Position: #90 / 323
- Number of attempts: 7
Put a cross in the square - 225 entries
Put a cross in the square
- Best score: 20
- Best player score: 24
- Position: #73 / 89
- Number of attempts: 1
swap number pairs - 2103 entries
Swap the numbers in a bunch of 2-element arrays.
- Best score: 16
- Best player score: 17
- Position: #100 / 380
- Number of attempts: 16
Simple, Practical, and Common - 33616 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: #2812 / 7420
- Number of attempts: 8
Hogwarts Email Sorting - 925 entries
Given a list of emails, get the students full name and their associated house.
- Best score: 20
- Best player score: 21
- Position: #104 / 261
- Number of attempts: 3
One number per line - 18727 entries
Just give me the numbers.
- Best score: 14
- Best player score: 17
- Position: #1338 / 3864
- Number of attempts: 6
Applying same text modification in several lines - 2880 entries
Remove identical text at the beginning of several lines and the closing parenthesis.
- Best score: 12
- Best player score: 13
- Position: #267 / 851
- Number of attempts: 4
Bad Copy Syntax - 2037 entries
Copy should be from right to left, but sometimes you type it wrong.
- Best score: 18
- Best player score: 18
- Position: #32 / 525
- Number of attempts: 9
Split line with dots - 2144 entries
This line is too long, split it.
- Best score: 15
- Best player score: 21
- Position: #442 / 634
- Number of attempts: 5
Com(m)a Trouble - 3823 entries
Someone was real stupid when placing his commas. Can you fix it?
- Best score: 12
- Best player score: 13
- Position: #339 / 865
- Number of attempts: 6
Every other line - 2910 entries
AaAaAaA
- Best score: 12
- Best player score: 13
- Position: #267 / 703
- Number of attempts: 7
Copy three lines - 2872 entries
If the site is up (by some miracle), make the text under every header identical.
- Best score: 13
- Best player score: 13
- Position: #182 / 640
- Number of attempts: 10
Preferably without multi-cursor plugin - 540 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: #38 / 129
- Number of attempts: 12
Number Sort - 314 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: 9
- Position: #129 / 166
- Number of attempts: 3
That hyphen - 2595 entries
"vim vi improved"
- Best score: 9
- Best player score: 10
- Position: #283 / 701
- Number of attempts: 7
Team names - 1836 entries
The team names are misspelled.
- Best score: 16
- Best player score: 17
- Position: #326 / 588
- Number of attempts: 3
Learn some german verbs - 533 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: 21
- Position: #53 / 133
- Number of attempts: 12
Subnetting - 131 entries
Split up the IP addresses in the right way.
- Best score: 29
- Best player score: 51
- Position: #35 / 39
- Number of attempts: 3
Lenny Spiral - 16 entries
Make one lenny into an infinite army of lennys.
- Best score: 35
- Best player score: 36
- Position: #8 / 8
- Number of attempts: 1
Back to the roots - 63 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: 24
- Position: #36 / 38
- Number of attempts: 1
Basic renumbering - 5648 entries
Renumbering Basic.
- Best score: 11
- Best player score: 12
- Position: #303 / 1264
- Number of attempts: 8
Hidden Message - 93 entries
Find the hidden message and replace all other characters with spaces.
- Best score: 33
- Best player score: 35
- Position: #15 / 30
- Number of attempts: 11
Combines all items - 313 entries
For each line that starts with the same number I want to combine its contents
- Best score: 9
- Best player score: 10
- Position: #127 / 140
- Number of attempts: 2
replace 2nd column blanks with values in same column if blank - 242 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: #40 / 83
- Number of attempts: 8
Sort files from hosts - 188 entries
Resume files by host. I hope you enjoy with this challenge
- Best score: 15
- Best player score: 16
- Position: #33 / 76
- Number of attempts: 5
Order and join - 983 entries
There's something special about the input order.
- Best score: 10
- Best player score: 11
- Position: #141 / 259
- Number of attempts: 3
Paragraph breaks - 522 entries
Swap the blank lines and the aaa lines.
- Best score: 10
- Best player score: 11
- Position: #86 / 167
- Number of attempts: 5
Line under headers - 2044 entries
Put a line under each header, and remove the other markdown formatting.
- Best score: 24
- Best player score: 25
- Position: #49 / 503
- Number of attempts: 5
Hail to Alekseï Pajitnov - 37 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: #12 / 15
- Number of attempts: 3
Label grid cells (6x6) - 53 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: 33
- Position: #11 / 20
- Number of attempts: 6
Collect List - 4298 entries
Convert to comma separated list.
- Best score: 12
- Best player score: 12
- Position: #519 / 1190
- Number of attempts: 3
VimGolfNight - 560 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #281 / 347
- Number of attempts: 7
ASCII box - 347 entries
Don't forget to fix typos!
- Best score: 23
- Best player score: 24
- Position: #55 / 107
- Number of attempts: 7
Test everything! - 186 entries
... and build the desired input data structure. Transform a list of values into a non-trivial format.
- Best score: 22
- Best player score: 25
- Position: #19 / 54
- Number of attempts: 15
Square numbers - 123 entries
Boring math puzzle.
- Best score: 16
- Best player score: 39
- Position: #39 / 42
- Number of attempts: 5
I forgot quotes - 15983 entries
Oops.
- Best score: 10
- Best player score: 11
- Position: #1239 / 4180
- Number of attempts: 8
learn vim in short time - 240 entries
so happy to learn vim.because vim is awesome
- Best score: 8
- Best player score: 8
- Position: #125 / 161
- Number of attempts: 1
-a-b-c- - 3213 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 14
- Position: #428 / 1137
- Number of attempts: 4
Suffix sort - 270 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: #14 / 67
- Number of attempts: 16
120 Degrees - 493 entries
Rotate that triangle.
- Best score: 14
- Best player score: 14
- Position: #37 / 145
- Number of attempts: 13
Gray area - 747 entries
It's a golf metaphor or something.
- Best score: 11
- Best player score: 12
- Position: #129 / 271
- Number of attempts: 5
Don't know what this is - 2022 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: #242 / 585
- Number of attempts: 4
Counting in binary - 526 entries
"a" represents 0; "A" represents 1. Start from zero and count to 15.
- Best score: 16
- Best player score: 17
- Position: #24 / 117
- Number of attempts: 26
quotes inside quotes - 3159 entries
taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)
- Best score: 14
- Best player score: 14
- Position: #351 / 1078
- Number of attempts: 5
Number an outline - 280 entries
The indent and words are right, but the numbers are all wrong.
- Best score: 25
- Best player score: 40
- Position: #30 / 78
- Number of attempts: 14
Words in parens - 12935 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #1167 / 3963
- Number of attempts: 6
Assign list - 192 entries
Assign list elements to matrix
- Best score: 30
- Best player score: 36
- Position: #25 / 61
- Number of attempts: 13
Draw the Go board - 149 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: 80
- Position: #45 / 51
- Number of attempts: 2
paste indent correction - JS - 112 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: 16
- Position: #39 / 59
- Number of attempts: 3
Delete unwanted lines - 411 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #186 / 229
- Number of attempts: 2
Chucking wood - 129 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: 53
- Position: #10 / 49
- Number of attempts: 9
ASCII-art Histogram - 320 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: 34
- Position: #19 / 57
- Number of attempts: 10
citizen_hacks_2019_challenge1 - 51 entries
For the Citizen Hacks 2019 Vim competition
- Best score: 5
- Best player score: 5
- Position: #28 / 45
- Number of attempts: 1
replacing each line of a block selection - 2999 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 18
- Position: #129 / 777
- Number of attempts: 9
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #1002 / 1748
- Number of attempts: 7
Ugly spreadsheet copy/paste to CSV - 1009 entries
convert an ugly spreadsheet copy/paste into a CSV format.
- Best score: 19
- Best player score: 20
- Position: #32 / 193
- Number of attempts: 22
Assignment Alignment - 883 entries
line up the operators. Use spaces, not tabs.
- Best score: 18
- Best player score: 19
- Position: #76 / 220
- Number of attempts: 16
A Simple One - 1050 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: 9
- Position: #550 / 664
- Number of attempts: 1
Reverse Simple Deletion - 847 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 12
- Position: #364 / 458
- Number of attempts: 5
Increment, increment, increment.... - 688 entries
Vim likes macros
- Best score: 10
- Best player score: 10
- Position: #52 / 408
- Number of attempts: 1
Hatsuyume - 532 entries
http://en.wikipedia.org/wiki/Hatsuyume
- Best score: 15
- Best player score: 16
- Position: #11 / 186
- Number of attempts: 4
The Cake is a Lie - 1346 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #270 / 527
- Number of attempts: 2
Almost encrypted - 204 entries
Convert the first paragraph to be even less readable.
- Best score: 5
- Best player score: 6
- Position: #139 / 146
- Number of attempts: 1
Whitespace, empty lines and tabs - 3665 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 16
- Position: #27 / 787
- Number of attempts: 11