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

Fix the shell script! - 1421 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 42
  • Position: #245 / 350
  • Number of attempts: 1
Visual block training - 651 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 59
  • Position: #100 / 123
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1171 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 18
  • Position: #372 / 404
  • Number of attempts: 1
Contribute to keyboard mashing - 698 entries

Speak in tongues

  • Best score: 17
  • Best player score: 23
  • Position: #195 / 215
  • Number of attempts: 1
Lowercase first characters - 387 entries

This is the (abridged) input for Day 3 in Advent of Code 2019. The output is a format more suitable for Prolog programming: the two lines of input become two lists of pairs, joined together in a wires functor.

  • Best score: 33
  • Best player score: 43
  • Position: #90 / 142
  • Number of attempts: 2
Migrated to Postgres! - 245 entries

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

  • Best score: 26
  • Best player score: 39
  • Position: #88 / 97
  • Number of attempts: 1
RUST match with enum for Coin - 154 entries

RUST match with enum for Coin rusty practice on vimgolf

  • Best score: 84
  • Best player score: 163
  • Position: #43 / 43
  • Number of attempts: 1
Making 3 line function a one liner. - 197 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 14
  • Position: #126 / 129
  • Number of attempts: 1
Put a cross in the square - 145 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 24
  • Position: #55 / 64
  • Number of attempts: 2
Python: Def to Lambda - 392 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 24
  • Position: #124 / 135
  • Number of attempts: 2
Rural Post - 4166 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 20
  • Position: #788 / 1031
  • Number of attempts: 1
Satisfy the go linter - 2032 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 42
  • Position: #389 / 413
  • Number of attempts: 1
Multiline to Single Line - 552 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 6
  • Position: #221 / 248
  • Number of attempts: 4
Yo To Hello - 1066 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #360 / 489
  • Number of attempts: 4
Replace pattern with 1, 2, 3, ... on each line - 1048 entries

For each line replace a search pattern (in this case $) with numbers starting at 1 and then increasing by 1 for each replaced match. a$b$c$ -> a0b1c2

  • Best score: 21
  • Best player score: 59
  • Position: #207 / 212
  • Number of attempts: 2
Get mail address from outlook format - 600 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 16
  • Position: #116 / 188
  • Number of attempts: 1
Alphabet soup - 396 entries

Create a column of all alphabet characters organized in a funky way

  • Best score: 25
  • Best player score: 43
  • Position: #87 / 96
  • Number of attempts: 1

Twitter:

entered into 17 challenges

contributed 0 challenges