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

Quicksort - 2005 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 6
  • Position: #113 / 442
  • Number of attempts: 4
hello-world-vimgolf - 2501 entries

Simple number generation

  • Best score: 10
  • Best player score: 14
  • Position: #504 / 709
  • Number of attempts: 2
Migrated to Postgres! - 331 entries

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

  • Best score: 26
  • Best player score: 39
  • Position: #111 / 131
  • Number of attempts: 2
Generate a very basic Python constructor - 316 entries

I actually needed to do this myself, so I look forward to learning how.

  • Best score: 38
  • Best player score: 62
  • Position: #67 / 98
  • Number of attempts: 1
RUST Cargo.toml version to last - 355 entries

RUST Cargo.toml version to last. rusty practice on vimgolf

  • Best score: 16
  • Best player score: 36
  • Position: #95 / 100
  • Number of attempts: 1
Making 3 line function a one liner. - 329 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #31 / 206
  • Number of attempts: 1
Python: Def to Lambda - 455 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 31
  • Position: #153 / 156
  • Number of attempts: 2
Add quotes to ansible playbook - 1007 entries

You created an ansible playbook, but forgot to add quotes. Can you fix it?

  • Best score: 8
  • Best player score: 10
  • Position: #239 / 316
  • Number of attempts: 3
Multiline to Single Line - 735 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #138 / 311
  • Number of attempts: 2
Yo To Hello - 1144 entries

Simply Turn Yo To Hello

  • Best score: 8
  • Best player score: 10
  • Position: #319 / 530
  • Number of attempts: 2
Add text at some column - 173 entries

Complete golang struct statement.

  • Best score: 31
  • Best player score: 33
  • Position: #46 / 65
  • Number of attempts: 3
prepend * to every non-blank line - 6353 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 25
  • Position: #1472 / 1549
  • Number of attempts: 2
Quote modules - 1090 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 34
  • Position: #246 / 283
  • Number of attempts: 1
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 28
  • Position: #2970 / 3074
  • Number of attempts: 1
ever0de
Twitter:

entered into 14 challenges

contributed 0 challenges