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

Reformat symbols in list - 931 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 41
  • Position: #171 / 215
  • Number of attempts: 1
2 quick changes and a numbered list - 427 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 78
  • Position: #88 / 102
  • Number of attempts: 1
delete swap - 983 entries

delete all swap

  • Best score: 5
  • Best player score: 11
  • Position: #275 / 322
  • Number of attempts: 3
Fix the shell script! - 1595 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 62
  • Position: #350 / 395
  • Number of attempts: 1
Visual block training - 729 entries

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

  • Best score: 17
  • Best player score: 80
  • Position: #126 / 140
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1296 entries

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

  • Best score: 10
  • Best player score: 14
  • Position: #355 / 444
  • Number of attempts: 2
hello-world-vimgolf - 1906 entries

Simple number generation

  • Best score: 10
  • Best player score: 13
  • Position: #375 / 544
  • Number of attempts: 4
djheidihoe
Twitter:

entered into 7 challenges

contributed 0 challenges