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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 52
  • Position: #63 / 396
  • Number of attempts: 9
Reformat symbols in list - 1470 entries

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

  • Best score: 24
  • Best player score: 58
  • Position: #302 / 323
  • Number of attempts: 2
Fizzbuzz - 509 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 191
  • Position: #145 / 157
  • Number of attempts: 1
Substraction (bis) - 578 entries

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

  • Best score: 21
  • Best player score: 38
  • Position: #85 / 107
  • Number of attempts: 7
Poorly indented Python comments - 1173 entries

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

  • Best score: 15
  • Best player score: 47
  • Position: #151 / 204
  • Number of attempts: 4
hello-world-vimgolf - 2359 entries

Simple number generation

  • Best score: 10
  • Best player score: 11
  • Position: #343 / 666
  • Number of attempts: 1
Contribute to keyboard mashing - 839 entries

Speak in tongues

  • Best score: 17
  • Best player score: 18
  • Position: #77 / 256
  • Number of attempts: 8
Reordering Lorem Ipsum - 261 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 15
  • Position: #34 / 61
  • Number of attempts: 7
Solve anagram with ASCII letters - 40 entries

ASCII created by TOIlet command

  • Best score: 47
  • Best player score: 85
  • Position: #13 / 16
  • Number of attempts: 1
Fill in the chess board - 905 entries

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

  • Best score: 19
  • Best player score: 25
  • Position: #57 / 175
  • Number of attempts: 18
Learn to ask for :help - 541 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 32
  • Position: #65 / 122
  • Number of attempts: 9
Plotting some variables in python - 1558 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: 35
  • Position: #68 / 333
  • Number of attempts: 18
Transpose a python matrix - 845 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 24
  • Position: #26 / 134
  • Number of attempts: 22
Create a diamond comment - 314 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 30
  • Position: #31 / 72
  • Number of attempts: 21
Lowercase first characters - 467 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: 36
  • Position: #68 / 175
  • Number of attempts: 5
Migrated to Postgres! - 312 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 29
  • Position: #51 / 122
  • Number of attempts: 4
Increment number for every 10 lines - 219 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 45
  • Position: #34 / 61
  • Number of attempts: 12
simple replacements - 1658 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 19
  • Position: #39 / 370
  • Number of attempts: 10
Inverting Lines - 1832 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #136 / 497
  • Number of attempts: 4
CSV to MD format - 388 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 50
  • Position: #32 / 91
  • Number of attempts: 13
Generate a very basic Python constructor - 307 entries

I actually needed to do this myself, so I look forward to learning how.

  • Best score: 38
  • Best player score: 74
  • Position: #79 / 94
  • Number of attempts: 3
Satisfy the go linter - 2329 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 58
  • Position: #452 / 457
  • Number of attempts: 1
深窓の令嬢@ドクター
Twitter:

(好きな)言語はRuby/JS・エディタはVim・OSはLinux/Windows/macOS・ブラウザはChrome・サーバはVPN・ルータはCisco・keyboardはREALFORCE・アニメはらき☆すた・ゲームはff・ソフトウェアはGit・DBはMySQL・犬/猫・カレーライス・ホムンクルス・門前清自摸和・お

entered into 22 challenges

contributed 0 challenges