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

YAML to dotenv - 1226 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 23
  • Position: #123 / 262
  • Number of attempts: 15
Fix the git merge conflicts - 286 entries

Solve the merge conflicts in the Python file

  • Best score: 36
  • Best player score: 67
  • Position: #59 / 78
  • Number of attempts: 2
Change class fields from camel case to snake case - 526 entries

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

  • Best score: 18
  • Best player score: 24
  • Position: #76 / 120
  • Number of attempts: 13
Remove adjacent duplicates - 646 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 57
  • Position: #152 / 162
  • Number of attempts: 2
Making 3 line function a one liner. - 340 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #185 / 209
  • Number of attempts: 9
Put a cross in the square - 235 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 23
  • Position: #68 / 92
  • Number of attempts: 7
Capitalize the Names - 412 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: 59
  • Position: #88 / 98
  • Number of attempts: 4
Yo To Hello - 1152 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #409 / 534
  • Number of attempts: 3
Quote modules - 1095 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 33
  • Position: #242 / 286
  • Number of attempts: 3
Create Leading Zeros - 245 entries

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

  • Best score: 23
  • Best player score: 82
  • Position: #82 / 84
  • Number of attempts: 1
Swap assigned value - 671 entries

Simple problem but looking for interesting solutions.

  • Best score: 10
  • Best player score: 11
  • Position: #198 / 259
  • Number of attempts: 6
I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 12
  • Position: #1401 / 4202
  • Number of attempts: 12
Mess in revision history - 1210 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 95
  • Position: #254 / 254
  • Number of attempts: 2
Letter case trickery - 1644 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: 22
  • Position: #509 / 520
  • Number of attempts: 3
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1879 / 3977
  • Number of attempts: 2
Delete unwanted lines - 431 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #200 / 234
  • Number of attempts: 3
Coordinates placeholder - 78 entries

Place coordinates instead of target search.

  • Best score: 22
  • Best player score: 26
  • Position: #34 / 41
  • Number of attempts: 3
A simple change - 476 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #55 / 196
  • Number of attempts: 4
SFD-ROC: vimvimvim - 1620 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 9
  • Position: #254 / 450
  • Number of attempts: 10
Generate English Alphabets - 508 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 41
  • Position: #185 / 211
  • Number of attempts: 3
The holy-grail may help - 389 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 16
  • Position: #167 / 215
  • Number of attempts: 6
A Simple One - 1067 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: #595 / 671
  • Number of attempts: 3
Hatsuyume - 556 entries

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

  • Best score: 15
  • Best player score: 39
  • Position: #180 / 191
  • Number of attempts: 2
Context Insensitive completion 1 - 512 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 36
  • Position: #231 / 248
  • Number of attempts: 6
Reformat some Python - 627 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 48
  • Position: #176 / 240
  • Number of attempts: 1
Change the content of a string - 1707 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 23
  • Position: #346 / 628
  • Number of attempts: 4
thomasyang18
Github:

entered into 26 challenges

contributed 0 challenges