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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 42
  • Position: #144 / 210
  • Number of attempts: 1
Visual block training - 366 entries

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

  • Best score: 18
  • Best player score: 59
  • Position: #62 / 79
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 859 entries

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

  • Best score: 10
  • Best player score: 18
  • Position: #282 / 303
  • Number of attempts: 1
Contribute to keyboard mashing - 593 entries

Speak in tongues

  • Best score: 17
  • Best player score: 23
  • Position: #165 / 180
  • Number of attempts: 1
Lowercase first characters - 336 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: #78 / 121
  • Number of attempts: 2
Migrated to Postgres! - 200 entries

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

  • Best score: 26
  • Best player score: 39
  • Position: #74 / 82
  • Number of attempts: 1
RUST match with enum for Coin - 143 entries

RUST match with enum for Coin rusty practice on vimgolf

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

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 14
  • Position: #100 / 101
  • Number of attempts: 1
Put a cross in the square - 121 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 24
  • Position: #47 / 54
  • Number of attempts: 2
Python: Def to Lambda - 359 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 24
  • Position: #111 / 120
  • Number of attempts: 2
Rural Post - 4091 entries

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

  • Best score: 9
  • Best player score: 20
  • Position: #770 / 1011
  • Number of attempts: 1
Satisfy the go linter - 2004 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: #379 / 402
  • Number of attempts: 1
Multiline to Single Line - 522 entries

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

  • Best score: 5
  • Best player score: 6
  • Position: #210 / 235
  • Number of attempts: 4
Yo To Hello - 1043 entries

Simply Turn Yo To Hello

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

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

  • Best score: 15
  • Best player score: 16
  • Position: #113 / 181
  • Number of attempts: 1
Alphabet soup - 386 entries

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

  • Best score: 25
  • Best player score: 43
  • Position: #83 / 91
  • Number of attempts: 1

Twitter:

entered into 17 challenges

contributed 0 challenges