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

hello-world-vimgolf - 303 entries

Simple number generation

  • Best score: 10
  • Best player score: 12
  • Position: #69 / 101
  • Number of attempts: 3
Contribute to keyboard mashing - 271 entries

Speak in tongues

  • Best score: 17
  • Best player score: 24
  • Position: #77 / 83
  • Number of attempts: 1
Make list of numbers from 1 to 30 more compact, but more confusing - 70 entries

Change the naming logic of numbers to end up with less lines.

  • Best score: 75
  • Best player score: 104
  • Position: #11 / 25
  • Number of attempts: 1
Migrated to Postgres! - 152 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 35
  • Position: #55 / 65
  • Number of attempts: 3
Making 3 line function a one liner. - 93 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #61 / 67
  • Number of attempts: 2
Add quotes to ansible playbook - 597 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 9
  • Position: #119 / 190
  • Number of attempts: 4
Simple, Practical, and Common - 32778 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: 29
  • Position: #4638 / 7242
  • Number of attempts: 2
Box it - 7661 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 26
  • Position: #1016 / 1830
  • Number of attempts: 6
Cool or not? - 748 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 19
  • Position: #128 / 214
  • Number of attempts: 3
multiple cursor alternative - 1441 entries

from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/

  • Best score: 19
  • Best player score: 23
  • Position: #246 / 368
  • Number of attempts: 1
From argument to object - 1258 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 26
  • Position: #385 / 416
  • Number of attempts: 1
Just the middle - 11086 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #982 / 4093
  • Number of attempts: 8
For all cases. - 123 entries

In this case... change it! :) Watch the line.

  • Best score: 8
  • Best player score: 8
  • Position: #51 / 87
  • Number of attempts: 1
Missing Library and a Typo - 829 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 22
  • Position: #168 / 203
  • Number of attempts: 1
I forgot quotes - 15668 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3175 / 4099
  • Number of attempts: 1
Tim Varley
Twitter:

Engineering Gnome. he/him

entered into 15 challenges

contributed 0 challenges