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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 42
  • Position: #293 / 418
  • Number of attempts: 1
Visual block training - 780 entries

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

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

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

  • Best score: 10
  • Best player score: 18
  • Position: #419 / 458
  • Number of attempts: 1
Contribute to keyboard mashing - 748 entries

Speak in tongues

  • Best score: 17
  • Best player score: 23
  • Position: #210 / 231
  • Number of attempts: 1
Lowercase first characters - 421 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: #96 / 152
  • Number of attempts: 2
Migrated to Postgres! - 268 entries

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

  • Best score: 26
  • Best player score: 39
  • Position: #96 / 107
  • Number of attempts: 1
RUST match with enum for Coin - 168 entries

RUST match with enum for Coin rusty practice on vimgolf

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

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 14
  • Position: #154 / 157
  • Number of attempts: 1
Put a cross in the square - 175 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 24
  • Position: #61 / 76
  • Number of attempts: 2
Python: Def to Lambda - 410 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 24
  • Position: #129 / 142
  • Number of attempts: 2
Rural Post - 4257 entries

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

  • Best score: 9
  • Best player score: 20
  • Position: #800 / 1045
  • Number of attempts: 1
Satisfy the go linter - 2076 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: #397 / 422
  • Number of attempts: 1
Multiline to Single Line - 585 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #231 / 260
  • Number of attempts: 4
Yo To Hello - 1081 entries

Simply Turn Yo To Hello

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

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

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

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

  • Best score: 25
  • Best player score: 43
  • Position: #89 / 98
  • Number of attempts: 1

Twitter:

entered into 17 challenges

contributed 0 challenges