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

Simple, Practical, and Common - 33483 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: 23
  • Position: #2676 / 7384
  • Number of attempts: 6
Swap values - 4554 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 13
  • Position: #629 / 1259
  • Number of attempts: 5
One number per line - 18673 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1267 / 3852
  • Number of attempts: 7
citizen_hacks_2019_challenge2 - 194 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #22 / 101
  • Number of attempts: 2
Add string initializers to an enum - 866 entries

Change Typescript enum so that it has string initializers.

  • Best score: 21
  • Best player score: 32
  • Position: #242 / 256
  • Number of attempts: 1
SCREAMING_SNAKE_CASE to Title Case - 1203 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: 20
  • Position: #68 / 247
  • Number of attempts: 7
Add semicolons - 10831 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #193 / 3055
  • Number of attempts: 9
remove lines containing the word "reader" - 3556 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #276 / 1151
  • Number of attempts: 5
Box it - 7849 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 24
  • Position: #883 / 1870
  • Number of attempts: 4
Cool or not? - 802 entries

abc trying to be cool or not...

  • Best score: 15
  • Best player score: 21
  • Position: #169 / 228
  • Number of attempts: 3
citizen_hacks_2019_challenge4 - 90 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 5
  • Best player score: 5
  • Position: #20 / 63
  • Number of attempts: 2
citizen_hacks_2019_challenge5 - 139 entries

For the Citizen Hacks 2019 Vim competition.

  • Best score: 6
  • Best player score: 6
  • Position: #16 / 75
  • Number of attempts: 2
Line under headers - 2022 entries

Put a line under each header, and remove the other markdown formatting.

  • Best score: 24
  • Best player score: 27
  • Position: #91 / 498
  • Number of attempts: 6
EL KESRI Othmane
Twitter:

entered into 13 challenges

contributed 0 challenges