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

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

  • Best score: 24
  • Best player score: 32
  • Position: #190 / 323
  • Number of attempts: 4
delete swap - 1525 entries

delete all swap

  • Best score: 5
  • Best player score: 7
  • Position: #364 / 478
  • Number of attempts: 4
Simple, Practical, and Common - 33385 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: #6711 / 7364
  • Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 1181 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: #237 / 244
  • Number of attempts: 2
Add semicolons - 10792 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 19
  • Position: #2717 / 3044
  • Number of attempts: 3
Box it - 7828 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 38
  • Position: #1668 / 1865
  • Number of attempts: 2
Delete to the end of the current line - 791 entries

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

  • Best score: 5
  • Best player score: 8
  • Position: #367 / 385
  • 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