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 - 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: 22
  • Position: #1404 / 7364
  • Number of attempts: 5
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2469 / 3842
  • Number of attempts: 1
V to the i - 4751 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1305 / 1879
  • Number of attempts: 2
Swap the operands under comparison - 270 entries

Swap the operands under comparison to prevent null pointer exception (at least in java)

  • Best score: 19
  • Best player score: 23
  • Position: #50 / 98
  • Number of attempts: 4
Extract argument from function - 2314 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 16
  • Position: #533 / 744
  • Number of attempts: 3
Adam's challenge - 957 entries

Change both normal to bold and 4 by 2. Adam Wathan challenge this on twitter . He did it in 11 keystrokes on Sublime.

  • Best score: 18
  • Best player score: 18
  • Position: #65 / 266
  • Number of attempts: 5
42-header - 38 entries

Rush 42mexican-standoff at 42 school

  • Best score: 22
  • Best player score: 29
  • Position: #11 / 14
  • Number of attempts: 2
convert yml into java pojo field - 829 entries

How fast vim can create fields for java pojo i.e class declaration referring to a (simple) yml file

  • Best score: 29
  • Best player score: 33
  • Position: #158 / 223
  • Number of attempts: 1
村橋究理基M.Kuriki@北大
Twitter:

理学院宇宙理学専攻/地球惑星科学科 博士3年 惑星気象/火星大気シミュレーション。写真/3Dプリンタ/プログラム/Debian/Vim/恵迪寮寮歌アプリ/第300期寮長/北大SSP(GSC) TA/情報学I TA/愛知県津島高校出身

entered into 8 challenges

contributed 0 challenges