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

Reformat symbols in list - 1625 entries

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

  • Best score: 24
  • Best player score: 32
  • Position: #206 / 349
  • Number of attempts: 4
delete swap - 1788 entries

delete all swap

  • Best score: 5
  • Best player score: 7
  • Position: #421 / 557
  • Number of attempts: 4
Simple, Practical, and Common - 33742 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 36
  • Position: #6780 / 7447
  • Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 1216 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: 60
  • Position: #244 / 251
  • Number of attempts: 2
Add semicolons - 10887 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 19
  • Position: #2743 / 3074
  • Number of attempts: 3
Box it - 7916 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 38
  • Position: #1682 / 1881
  • Number of attempts: 2
Delete to the end of the current line - 833 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 8
  • Position: #381 / 402
  • Number of attempts: 5
William Kennedy
Twitter:

Indoor Explorer. Regularly imagine myself winning the Ballon D'or and World Cup for Ireland. Ruby, Swift and JS sprinkles. Working on https://t.co/vqz6l6xmOI

entered into 7 challenges

contributed 0 challenges