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 - 6392 entries

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

  • Best score: 10
  • Best player score: 17
  • Position: #1118 / 1561
  • Number of attempts: 5
Quote modules - 1102 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 29
  • Position: #208 / 290
  • Number of attempts: 4
SCREAMING_SNAKE_CASE to Title Case - 1273 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: #262 / 266
  • Number of attempts: 1
Add semicolons - 10955 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #967 / 3098
  • Number of attempts: 2
remove lines containing the word "reader" - 3649 entries

easy stuff

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

Put hyphens everywhere.

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

Just an intermediate coder of my generation 😏😀

entered into 6 challenges

contributed 0 challenges