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

New teacher - 921 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #88 / 193
  • Number of attempts: 3
HS exam question - 1581 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 98
  • Position: #332 / 417
  • Number of attempts: 1
Many duplicates - 1445 entries

Quick and easy

  • Best score: 7
  • Best player score: 9
  • Position: #338 / 468
  • Number of attempts: 2
delete swap - 1783 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #348 / 555
  • Number of attempts: 7
Generate a very basic Python constructor (fixed) - 1253 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 80
  • Position: #246 / 271
  • Number of attempts: 1
Fix the shell script! - 2544 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 65
  • Position: #536 / 589
  • Number of attempts: 1
Java to JavaScript - 268 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 138
  • Position: #66 / 73
  • Number of attempts: 1
Lowercase first characters - 487 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: 73
  • Position: #181 / 183
  • Number of attempts: 1
simple replacements - 1753 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 25
  • Position: #266 / 380
  • Number of attempts: 3
Python Hello World! Reformatting - 994 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 45
  • Position: #292 / 380
  • Number of attempts: 1
Make it more readable - 2005 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 29
  • Position: #633 / 650
  • Number of attempts: 1
Numbering a List - 1931 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 64
  • Position: #648 / 652
  • Number of attempts: 1
Bùi Lê Huỳnh
Github:

entered into 12 challenges

contributed 0 challenges