Played Challenges
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: 26
- Position: #3602 / 7517
- Number of attempts: 2
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: 16
- Position: #1017 / 1563
- Number of attempts: 1
Swap values inside brackets - 2551 entries
Easy challenge.
- Best score: 13
- Best player score: 17
- Position: #289 / 594
- Number of attempts: 4
Bad Copy Syntax - 2088 entries
Copy should be from right to left, but sometimes you type it wrong.
- Best score: 18
- Best player score: 20
- Position: #254 / 543
- Number of attempts: 6
Box it - 8003 entries
Create a box around a line.
- Best score: 21
- Best player score: 24
- Position: #926 / 1901
- Number of attempts: 1
Start coding format - 168 entries
I used to start coding with following format: int main(){ -(cursor here) }
- Best score: 22
- Best player score: 24
- Position: #64 / 76
- Number of attempts: 1
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: 37
- Position: #86 / 135
- Number of attempts: 1
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: #150 / 173
- Number of attempts: 1
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: 44
- Position: #252 / 400
- Number of attempts: 1
Mirrored text - 211 entries
backward and forward, and long enough to be challenging
- Best score: 14
- Best player score: 16
- Position: #55 / 76
- Number of attempts: 2
Swap assigned value - 695 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 11
- Position: #185 / 263
- Number of attempts: 1
camel riding - 817 entries
add a prefix on some camelCase variables
- Best score: 15
- Best player score: 18
- Position: #243 / 285
- Number of attempts: 2
Logging with key - 343 entries
Sometimes it is better to log with meaningful key
- Best score: 21
- Best player score: 38
- Position: #77 / 90
- Number of attempts: 1
Mute the second method of this script - 465 entries
prepend a # infront of every line of the second method
- Best score: 8
- Best player score: 10
- Position: #221 / 246
- Number of attempts: 1
Happy TvvO - 440 entries
Don’t forget the past, learn from it. Happy New Year.
- Best score: 12
- Best player score: 12
- Position: #131 / 212
- Number of attempts: 3
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: 12
- Position: #363 / 526
- Number of attempts: 4
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: 17
- Position: #240 / 281
- Number of attempts: 1
Increment, increment, increment.... - 709 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #354 / 417
- Number of attempts: 3
Context Insensitive completion 1 - 533 entries
Finish writing this simple Python HTTP server.
- Best score: 18
- Best player score: 36
- Position: #232 / 252
- Number of attempts: 2
Whitespace, empty lines and tabs - 4054 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 31
- Position: #616 / 866
- Number of attempts: 3
Simple text editing with Vim - 13645 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1871 / 3907
- Number of attempts: 2
VimGolf