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

HS exam question - 1589 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 60
  • Position: #120 / 417
  • Number of attempts: 9
Reformat symbols in list - 1625 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #82 / 349
  • Number of attempts: 6
Fizzbuzz - 575 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 44
  • Best player score: 155
  • Position: #150 / 168
  • Number of attempts: 1
Substraction (bis) - 603 entries

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

  • Best score: 21
  • Best player score: 34
  • Position: #73 / 113
  • Number of attempts: 4
Changing around text with citations - 329 entries

Based off of something I saw on reddit

  • Best score: 28
  • Best player score: 42
  • Position: #61 / 93
  • Number of attempts: 4
Poorly indented Python comments - 1316 entries

Fix the alignment of some Python comments as quickly as possible.

  • Best score: 15
  • Best player score: 25
  • Position: #101 / 222
  • Number of attempts: 10
Many duplicates - 1451 entries

Quick and easy

  • Best score: 7
  • Best player score: 7
  • Position: #16 / 471
  • Number of attempts: 4
delete swap - 1788 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #148 / 557
  • Number of attempts: 2
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: 52
  • Position: #194 / 271
  • Number of attempts: 3
Fix the shell script! - 2596 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 42
  • Position: #429 / 603
  • Number of attempts: 2
HS Final exam vimgolf - 904 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 23
  • Position: #90 / 238
  • Number of attempts: 3
Rural Post - 4547 entries

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

  • Best score: 9
  • Best player score: 10
  • Position: #383 / 1109
  • Number of attempts: 5
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: 16
  • Position: #1080 / 1549
  • Number of attempts: 2
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1643 / 3074
  • Number of attempts: 4
Nathan Iszlaub
Twitter:

entered into 14 challenges

contributed 0 challenges