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 - 1000 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: #127 / 292
  • Number of attempts: 3
Poorly indented Python comments - 1133 entries

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

  • Best score: 15
  • Best player score: 33
  • Position: #109 / 196
  • Number of attempts: 2
Many duplicates - 1184 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #37 / 385
  • Number of attempts: 1
delete swap - 1440 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #18 / 457
  • Number of attempts: 2
Generate a very basic Python constructor (fixed) - 1152 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 29
  • Best player score: 164
  • Position: #231 / 242
  • Number of attempts: 1
Fix the shell script! - 2047 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 29
  • Position: #159 / 490
  • Number of attempts: 4
Jakub Parapura
Twitter:

entered into 6 challenges

contributed 0 challenges