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

π - 321 entries

1200 π chars

  • Best score: 16
  • Best player score: 17
  • Position: #23 / 79
  • Number of attempts: 2
Create json from a .env file - 1651 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 58
  • Position: #170 / 405
  • Number of attempts: 2
Changing date formats - 735 entries

Change the date format to Y/M/D.

  • Best score: 7
  • Best player score: 71
  • Position: #91 / 207
  • Number of attempts: 3
Change to ascending order - 537 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 49
  • Position: #72 / 130
  • Number of attempts: 3
Generate an entry for each month - 387 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 49
  • Position: #57 / 97
  • Number of attempts: 2
The Fibonacci Spacer - 169 entries

Split the words, remove punctuation and add spaces before each line following the Fibonacci sequence (0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89)

  • Best score: 14
  • Best player score: 74
  • Position: #40 / 51
  • Number of attempts: 1
Remove adjacent duplicates - 718 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 19
  • Position: #17 / 179
  • Number of attempts: 4
Evil Numbers - 117 entries

Print the first 100 evil numbers https://oeis.org/A001969. This is an advert for code.golf https://code.golf/evil-numbers#viml

  • Best score: 25
  • Best player score: 25
  • Position: #9 / 28
  • Number of attempts: 7
One number per line - 18894 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #775 / 3901
  • Number of attempts: 7
V to the i - 4864 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Position: #804 / 1912
  • Number of attempts: 2
From argument to object - 1552 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 18
  • Position: #280 / 469
  • Number of attempts: 1
Basic renumbering - 5731 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #282 / 1277
  • Number of attempts: 8
Permutations N=4 - 81 entries

Could use backtracking or other algorithm to generate sorted numbers. Second chance !

  • Best score: 25
  • Best player score: 25
  • Position: #7 / 21
  • Number of attempts: 7
Generate Fibonacci Numbers - 317 entries

Use your super vim powers to generate Fibonacci Numbers.

  • Best score: 19
  • Best player score: 29
  • Position: #91 / 107
  • Number of attempts: 4
canabadyweb
Github:

entered into 14 challenges

contributed 0 challenges