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

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 52
  • Position: #35 / 204
  • Number of attempts: 4
Reformat symbols in list - 662 entries

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

  • Best score: 24
  • Best player score: 30
  • Position: #81 / 150
  • Number of attempts: 1
Substraction (bis) - 300 entries

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

  • Best score: 22
  • Best player score: 27
  • Position: #23 / 67
  • Number of attempts: 5
Poorly indented Python comments - 747 entries

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

  • Best score: 15
  • Best player score: 50
  • Position: #107 / 142
  • Number of attempts: 1
Many duplicates - 610 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #137 / 212
  • Number of attempts: 1
delete swap - 740 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #138 / 253
  • Number of attempts: 1
Fill in the chess board - 665 entries

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

  • Best score: 19
  • Best player score: 26
  • Position: #47 / 140
  • Number of attempts: 4
Lowercase first characters - 387 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: 52
  • Position: #122 / 142
  • Number of attempts: 3
Migrated to Postgres! - 244 entries

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

  • Best score: 26
  • Best player score: 30
  • Position: #68 / 96
  • Number of attempts: 3
simple replacements - 1177 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 26
  • Position: #209 / 262
  • Number of attempts: 3
Inverting Lines - 1447 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #330 / 396
  • Number of attempts: 1
대법원 인명용 한자 바인딩(Combine Hangul and Chinese characters) - 24 entries

The character system of Chinese characters has caused difficulties in character encoding for a long time. The content is to link the Korean name and the corresponding Chinese character. input is simply pasted Chinese table, and you need to make it in json format. Most of them are omitted because there are too many Chinese characters, but I think it's better to work from "가" to "힐". There are a few rules here. 1. One Hangul must correspond to multiple Chinese characters. 2. In the case of "a(b c)", "a" is a redundant Chinese character, so you must remove "a" and use only "b c". 3. There are some characters here that don't appear to be an encoding issue, but they should all be used. 4. Should follow json format, Chinese characters are arrays. 문자인코딩의 역사속에서 한문은 여러가지 난제를 만들어왔습니다. 이 문제는 대법원 인명용 한자를 바인딩하는 것입니다. input은 단순히 인명용한자 표를 붙여넣기 한 것이며, 이것을 json형식으로 만들어야합니다. 한자가 너무 많은 관계로 대부분을 생략하였으나, 기본적으로 "가"부터 "힐"까지 모두 동작하는 것이 좋다고 생각합니다. 여기에는 몇가지 규칙이 있습니다. 1. 한글 하나에는 여러개의 한자가 대응합니다. 2. "a(b c)"같은 경우 "a"는 중복된 한자이므로, "a"를 제거하고 "b c"만을 사용해야합니다. 3. 몇몇 한자는 인코딩의 문제로 보이지 않을 수 있습니다. 그러나 모두 사용해야합니다. 4. json형식을 따르며, 한자는 배열입니다.

  • Best score: 69
  • Best player score: 72
  • Position: #3 / 4
  • Number of attempts: 2
swap number pairs - 1675 entries

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

  • Best score: 16
  • Best player score: 32
  • Position: #222 / 313
  • Number of attempts: 2
HS Final exam vimgolf - 746 entries

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

  • Best score: 21
  • Best player score: 22
  • Position: #69 / 201
  • Number of attempts: 3
Easy modification of ssh config - 265 entries

Just add another alias to each worker

  • Best score: 24
  • Best player score: 27
  • Position: #43 / 86
  • Number of attempts: 4
One number per line - 18439 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1990 / 3802
  • Number of attempts: 4
Add semicolons - 10715 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1751 / 3019
  • Number of attempts: 2
switch variable - 4974 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #991 / 1715
  • Number of attempts: 4
Ugly spreadsheet copy/paste to CSV - 926 entries

convert an ugly spreadsheet copy/paste into a CSV format.

  • Best score: 19
  • Best player score: 21
  • Position: #49 / 179
  • Number of attempts: 11
Make it more readable - 1923 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #308 / 632
  • Number of attempts: 2
Alphabetize the directory - 281 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 30
  • Position: #15 / 98
  • Number of attempts: 12
Sort entries based on date - 357 entries

Sort some entries in a Ledger-file based on date.

  • Best score: 11
  • Best player score: 18
  • Position: #93 / 112
  • Number of attempts: 10
우정민
Twitter:

Software Engineer | Web | Media Art

entered into 22 challenges

contributed 0 challenges