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

simple replacements - 243 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Number of attempts: 7
Inverting Lines - 519 entries

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

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 7
Making 3 line function a one liner. - 22 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Number of attempts: 1
vimtutor, but you can cheat - 13 entries

It's time to revisit vimtutor, but as an experienced Vim user! Your goal is to change the file to appear as if you had gone through the tutorial, but you do NOT need to actually complete the tutorial as written or do anything that doesn't result in changes to the file. You may use whatever you have in your Vim toolbelt that's allowed under VimGolf rules. The whole tutorial is too large to submit, so only the relevant lesson headers and associated practice lines are presented in this challenge. You will have to reference the tutor for the original instructions if you need them: https://raw.githubusercontent.com/vim/vim/4466ad6baa22485abb1147aca3340cced4778a66/runtime/tutor/tutor

  • Best score: 149
  • Best player score: 200
  • Number of attempts: 2
Put a cross in the square - 46 entries

Put a cross in the square

  • Best score: 22
  • Best player score: 23
  • Number of attempts: 1
HS Final exam vimgolf - 463 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 33
  • Number of attempts: 2
Python: Def to Lambda - 134 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 19
  • Number of attempts: 2
Turn the x - 114 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 20
  • Number of attempts: 5
Add text at some column - 125 entries

Complete golang struct statement.

  • Best score: 31
  • Best player score: 47
  • Number of attempts: 2
calculations - 244 entries

Complete these (weird) calculations.

  • Best score: 38
  • Best player score: 68
  • Number of attempts: 1
change parenthesis - 235 entries

change the pair of braces into a pair of parentheses

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
Join 'em - 206 entries

This shouldn't be too tough

  • Best score: 4
  • Best player score: 4
  • Number of attempts: 1
unknown command - 136 entries

I want change 5 words

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Preferably without multi-cursor plugin - 451 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: 33
  • Number of attempts: 6
Not enough Ps - 61 entries

Different type of code

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 2
Fill visual area - 71 entries

Just have fun!

  • Best score: 20
  • Best player score: 62
  • Number of attempts: 1
vim1001 - 250 entries

change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )

  • Best score: 17
  • Best player score: 37
  • Number of attempts: 3
Piphilology - 124 entries

Piphilology comprises the creation and use of mnemonic techniques to remember a span of digits of the mathematical constant π. http://en.wikipedia.org/wiki/Piphilology

  • Best score: 29
  • Best player score: 38
  • Number of attempts: 1
Recursive Cowsay - 58 entries

Convert 'cowsay' statement to recursive output

  • Best score: 33
  • Best player score: 71
  • Number of attempts: 2
Insert a Markdown link - 398 entries

Put a link in a markdown document, using the after-the-paragraph format.

  • Best score: 22
  • Best player score: 24
  • Number of attempts: 6
Tuure
Twitter:

entered into 20 challenges

contributed 0 challenges