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

Nested JSON Flattener - 18 entries

Transform a deeply nested JSON structure into a flattened key-value format where each path is represented by dot notation

  • Best score: 44
  • Best player score: 144
  • Position: #9 / 10
  • Number of attempts: 1
Mirror image - 75 entries

Add the second eye

  • Best score: 15
  • Best player score: 32
  • Position: #20 / 27
  • Number of attempts: 1
Morse - 148 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 45
  • Position: #16 / 33
  • Number of attempts: 3
Replace word while reserving first letter case - 604 entries

Window -> Door window -> door Windows -> Windows windows -> windows

  • Best score: 24
  • Best player score: 49
  • Position: #98 / 118
  • Number of attempts: 3
EDN reformat - 1158 entries

The goal is to make the code more readable and concise while maintaining its functionality.

  • Best score: 17
  • Best player score: 92
  • Position: #160 / 164
  • Number of attempts: 1
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: 19
  • Position: #286 / 553
  • Number of attempts: 5
HS exam question - 1589 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 66
  • Position: #168 / 417
  • Number of attempts: 1
Reformat symbols in list - 1621 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 30
  • Position: #203 / 348
  • Number of attempts: 2
Changing around text with citations - 329 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 49
  • Position: #79 / 93
  • Number of attempts: 1
Inverting Lines - 1900 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #227 / 511
  • Number of attempts: 5
RUST HTML to maud. - 24 entries

RUST HTML to maud. maud is one of the template engines for server-side rendering based on rust. rusty practice on vimgolf

  • Best score: 135
  • Best player score: 292
  • Position: #9 / 12
  • Number of attempts: 1
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: 24
  • Position: #113 / 236
  • Number of attempts: 2
Capitalize the Names - 408 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: 31
  • Position: #68 / 97
  • Number of attempts: 5
Aliases for cd - 879 entries

Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?

  • Best score: 30
  • Best player score: 51
  • Position: #104 / 155
  • Number of attempts: 2
Com(m)a Trouble - 3823 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 16
  • Position: #515 / 865
  • Number of attempts: 7
Lisp Condense - 460 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 19
  • Position: #153 / 158
  • Number of attempts: 2
Lily
Github:

entered into 16 challenges

contributed 0 challenges