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 - 1169 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: 14
  • Position: #20 / 355
  • Number of attempts: 4
Insert column data on Confluence-style table - 438 entries

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

  • Best score: 33
  • Best player score: 61
  • Position: #70 / 103
  • Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 504 entries

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

  • Best score: 17
  • Best player score: 17
  • Position: #112 / 284
  • Number of attempts: 2
Paste a column after a column - 2367 entries

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

  • Best score: 14
  • Best player score: 17
  • Position: #200 / 514
  • Number of attempts: 3
Reformat symbols in list - 1482 entries

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

  • Best score: 24
  • Best player score: 25
  • Position: #95 / 328
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 6689 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 62
  • Position: #1530 / 1640
  • Number of attempts: 1
Ar┼źnas Smaliukas
Twitter:

entered into 6 challenges

contributed 0 challenges