Played Challenges
Simple, Practical, and Common - 34031 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: #3603 / 7520
- Number of attempts: 2
prepend * to every non-blank line - 6401 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 7
- Best player score: 16
- Position: #1019 / 1566
- Number of attempts: 1
Swap values inside brackets - 2553 entries
Easy challenge.
- Best score: 10
- Best player score: 17
- Position: #290 / 595
- 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 - 8004 entries
Create a box around a line.
- Best score: 21
- Best player score: 24
- Position: #926 / 1902
- 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 - 1057 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: #253 / 402
- 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 - 696 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 11
- Position: #185 / 264
- 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 - 466 entries
prepend a # infront of every line of the second method
- Best score: 8
- Best player score: 10
- Position: #221 / 247
- Number of attempts: 1
Happy TvvO - 443 entries
Don’t forget the past, learn from it. Happy New Year.
- Best score: 12
- Best player score: 12
- Position: #131 / 213
- 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 - 760 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: #241 / 282
- Number of attempts: 1
Increment, increment, increment.... - 712 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #355 / 420
- Number of attempts: 3
Context Insensitive completion 1 - 536 entries
Finish writing this simple Python HTTP server.
- Best score: 18
- Best player score: 36
- Position: #234 / 254
- Number of attempts: 2
Whitespace, empty lines and tabs - 4083 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 7
- Best player score: 31
- Position: #620 / 872
- Number of attempts: 3
Simple text editing with Vim - 13682 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1875 / 3920
- Number of attempts: 2
VimGolf