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

Substraction (bis) - 67 entries

Solve the equations (adapted from the original @Caek_'s challenge).

  • Best score: 22
  • Best player score: 332
  • Position: #26 / 26
  • Number of attempts: 1
Changing around text with citations - 29 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 49
  • Position: #11 / 12
  • Number of attempts: 3
Generate a very basic Python constructor (fixed) - 545 entries

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

  • Best score: 29
  • Best player score: 53
  • Position: #92 / 127
  • Number of attempts: 1
Fix the shell script! - 987 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 38
  • Position: #149 / 253
  • Number of attempts: 1
Visual block training - 446 entries

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

  • Best score: 18
  • Best player score: 59
  • Position: #71 / 91
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 942 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #168 / 332
  • Number of attempts: 3
hello-world-vimgolf - 1533 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #158 / 437
  • Number of attempts: 7
Fill in the chess board - 543 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 150
  • Position: #111 / 113
  • Number of attempts: 1
Plotting some variables in python - 1172 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 59
  • Position: #178 / 247
  • Number of attempts: 1
Create a diamond comment - 233 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 184
  • Position: #51 / 55
  • Number of attempts: 1
Lowercase first characters - 359 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: 48
  • Position: #102 / 128
  • Number of attempts: 2
Inverting Lines - 1296 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 10
  • Position: #142 / 363
  • Number of attempts: 4
swap number pairs - 1475 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 30
  • Position: #177 / 285
  • Number of attempts: 4
Rural Post - 4105 entries

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

  • Best score: 9
  • Best player score: 21
  • Position: #795 / 1015
  • Number of attempts: 2
Multiline to Single Line - 522 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #171 / 235
  • Number of attempts: 3
prepend * to every non-blank line - 5959 entries

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

  • Best score: 10
  • Best player score: 16
  • Position: #1028 / 1463
  • Number of attempts: 2
Add semicolons - 10539 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1389 / 2988
  • Number of attempts: 6
Box it - 7680 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 41
  • Position: #1679 / 1835
  • Number of attempts: 3
Just the middle - 11136 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2624 / 4112
  • Number of attempts: 1
Missing Library and a Typo - 836 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 22
  • Position: #171 / 205
  • Number of attempts: 2
lamb had a little Mary - 559 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 38
  • Position: #117 / 157
  • Number of attempts: 2
Nougatine Naja
Twitter:

entered into 21 challenges

contributed 0 challenges