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

prepend * to every non-blank line - 6388 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 17
  • Position: #1116 / 1559
  • Number of attempts: 5
Quote modules - 1100 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 29
  • Position: #207 / 288
  • Number of attempts: 4
SCREAMING_SNAKE_CASE to Title Case - 1272 entries

Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary

  • Best score: 19
  • Best player score: 72
  • Position: #261 / 265
  • Number of attempts: 1
Add semicolons - 10934 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #965 / 3092
  • Number of attempts: 2
remove lines containing the word "reader" - 3643 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #253 / 1181
  • Number of attempts: 3
-a-b-c- - 3233 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #713 / 1143
  • Number of attempts: 3
Coder's Crib
Twitter:

Just an intermediate coder of my generation 😏😀

entered into 6 challenges

contributed 0 challenges