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 - 1364 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #123 / 285
  • Number of attempts: 3
HS exam question - 1596 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 98
  • Position: #333 / 418
  • Number of attempts: 1
Many duplicates - 1459 entries

Quick and easy

  • Best score: 7
  • Best player score: 9
  • Position: #342 / 476
  • Number of attempts: 2
delete swap - 1801 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #348 / 561
  • Number of attempts: 7
Generate a very basic Python constructor (fixed) - 1264 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: #247 / 272
  • Number of attempts: 1
Fix the shell script! - 2605 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 65
  • Position: #553 / 606
  • Number of attempts: 1
Java to JavaScript - 277 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 138
  • Position: #68 / 75
  • Number of attempts: 1
Lowercase first characters - 490 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: #182 / 184
  • Number of attempts: 1
simple replacements - 1814 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 25
  • Position: #270 / 392
  • Number of attempts: 3
Python Hello World! Reformatting - 1006 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: #295 / 383
  • Number of attempts: 1
Make it more readable - 2009 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 29
  • Position: #635 / 652
  • Number of attempts: 1
Numbering a List - 1939 entries

Pretty simple, number the list.

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

entered into 12 challenges

contributed 0 challenges