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! - 2064 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 42
  • Position: #346 / 496
  • Number of attempts: 1
Visual block training - 954 entries

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

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

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

  • Best score: 10
  • Best player score: 18
  • Position: #475 / 518
  • Number of attempts: 1
Contribute to keyboard mashing - 828 entries

Speak in tongues

  • Best score: 17
  • Best player score: 23
  • Position: #230 / 252
  • Number of attempts: 1
Lowercase first characters - 458 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: #109 / 172
  • Number of attempts: 2
Migrated to Postgres! - 299 entries

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

  • Best score: 26
  • Best player score: 39
  • Position: #105 / 118
  • Number of attempts: 1
RUST match with enum for Coin - 176 entries

RUST match with enum for Coin rusty practice on vimgolf

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

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 14
  • Position: #188 / 193
  • Number of attempts: 1
Put a cross in the square - 203 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 24
  • Position: #67 / 84
  • Number of attempts: 2
Python: Def to Lambda - 423 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 24
  • Position: #134 / 149
  • Number of attempts: 2
Rural Post - 4351 entries

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

  • Best score: 9
  • Best player score: 20
  • Position: #821 / 1066
  • Number of attempts: 1
Satisfy the go linter - 2169 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: #410 / 434
  • Number of attempts: 1
Multiline to Single Line - 596 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #237 / 268
  • Number of attempts: 4
Yo To Hello - 1107 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #360 / 512
  • Number of attempts: 4
Replace pattern with 1, 2, 3, ... on each line - 1089 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: #216 / 222
  • Number of attempts: 2
Get mail address from outlook format - 621 entries

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

  • Best score: 15
  • Best player score: 16
  • Position: #119 / 196
  • Number of attempts: 1
Alphabet soup - 419 entries

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

  • Best score: 25
  • Best player score: 43
  • Position: #94 / 103
  • Number of attempts: 1

Twitter:

entered into 17 challenges

contributed 0 challenges