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

Find fix point of cos - 1160 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 15
  • Position: #72 / 351
  • Number of attempts: 3
Insert column data on Confluence-style table - 437 entries

Add ip addresses into new "IP" column based on the last digits from the "Server" column

  • Best score: 33
  • Best player score: 34
  • Position: #9 / 102
  • Number of attempts: 16
Surround the 'z' character with brackets, quotes, and print as formatted string. - 494 entries

Surround the 'z' character with brackets, quotes, and print as formatted string.

  • Best score: 17
  • Best player score: 17
  • Position: #1 / 278
  • Number of attempts: 1
Paste a column after a column - 2314 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 16
  • Position: #142 / 501
  • Number of attempts: 9
Reformat symbols in list - 1477 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #89 / 327
  • Number of attempts: 7
Substraction (bis) - 579 entries

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

  • Best score: 21
  • Best player score: 23
  • Position: #30 / 108
  • Number of attempts: 16
delete swap - 1574 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #234 / 493
  • Number of attempts: 2
Making 3 line function a one liner. - 310 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #154 / 198
  • Number of attempts: 1
Rural Post - 4399 entries

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

  • Best score: 9
  • Best player score: 9
  • Position: #193 / 1080
  • Number of attempts: 10
Satisfy the go linter - 2344 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: 20
  • Position: #147 / 461
  • Number of attempts: 6
From a Thunderlink to a Markdown link - 747 entries

ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.

  • Best score: 18
  • Best player score: 19
  • Position: #68 / 166
  • Number of attempts: 8
Wrap the text of an email message to 79 characters - 692 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #287 / 391
  • Number of attempts: 1
Basic renumbering - 5591 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #269 / 1258
  • Number of attempts: 5
Align commas - 1049 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 11
  • Position: #95 / 241
  • Number of attempts: 1
someperson150
Twitter:

entered into 14 challenges

contributed 0 challenges