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 - 1762 entries

Simple number generation

  • Best score: 10
  • Best player score: 12
  • Position: #301 / 507
  • Number of attempts: 3
Contribute to keyboard mashing - 692 entries

Speak in tongues

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

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

  • Best score: 75
  • Best player score: 104
  • Position: #13 / 33
  • Number of attempts: 1
Migrated to Postgres! - 244 entries

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

  • Best score: 26
  • Best player score: 35
  • Position: #77 / 96
  • Number of attempts: 3
Making 3 line function a one liner. - 197 entries

Simple challenge for frequent action while programming.

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

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

  • Best score: 8
  • Best player score: 9
  • Position: #152 / 258
  • Number of attempts: 4
Simple, Practical, and Common - 33029 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: #4669 / 7290
  • Number of attempts: 2
Box it - 7718 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 26
  • Position: #1024 / 1841
  • Number of attempts: 6
Cool or not? - 765 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 19
  • Position: #130 / 218
  • Number of attempts: 3
multiple cursor alternative - 1452 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: #249 / 371
  • Number of attempts: 1
From argument to object - 1439 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: #407 / 440
  • Number of attempts: 1
Just the middle - 11281 entries

Delete the instructions at the top and bottom.

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

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

  • Best score: 8
  • Best player score: 8
  • Position: #51 / 94
  • Number of attempts: 1
Missing Library and a Typo - 838 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: #169 / 206
  • Number of attempts: 1
I forgot quotes - 15808 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3197 / 4124
  • Number of attempts: 1
⚫ hgtp://Shifor 🛠️
Twitter:

Engineering Gnome. he/him CTO & Co-Founder of @EnterTheVoidNFT. #HGTP #NFGP #AppsNotApes #Apes2Apps

entered into 15 challenges

contributed 0 challenges