Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Leaderboard, Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 4d1da368de2f897c2a000114

Dumb to smart

Turn dumb quote to smart vim's way.

Start file
Dhṛtarāṣṭra said: "O Sañjaya what did my sons desirous of battle and Pāṇḍu's son do after assembling at the holy land of righteousness Kurukṣetra ?"
- 'Bhagavad Gītā's first shokla'
End file
Dhṛtarāṣṭra said: “O Sañjaya what did my sons desirous of battle and Pāṇḍu’s son do after assembling at the holy land of righteousness Kurukṣetra ?”
- ‘Bhagavad Gītā’s first shokla’

View Diff

1,2c1,2
< Dhṛtarāṣṭra said: "O Sañjaya what did my sons desirous of battle and Pāṇḍu's son do after assembling at the holy land of righteousness Kurukṣetra ?"
< - 'Bhagavad Gītā's first shokla'
---
> Dhṛtarāṣṭra said: “O Sañjaya what did my sons desirous of battle and Pāṇḍu’s son do after assembling at the holy land of righteousness Kurukṣetra ?”
> - ‘Bhagavad Gītā’s first shokla’

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 30 remaining solutions by signing in and submitting your own entry
#31 Thedward the Edward / @thedward - Score: 39 - 12/31/10 @ 13:53
/"<CR>cl<0xe2><fe-58><0x9c><Esc>ncl<0xe2><fe-58><0x9d><Esc>/'<CR>cl<0xe2><fe-58><0x98><Esc>:%s/'/<0xe2><fe-58><0x99>/g<CR>ZZ

0 comments

#32 Ricardo Sisnett / @mrjackinc - Score: 40 - 01/01/11 @ 21:55
:s/"/<0xe2><fe-58><0x9c><CR>:<Up><BS><0xe2><fe-58><0x9d><CR>j:s/'/<0xe2><fe-58><0x98><CR>:%s/'/<0xe2><fe-58><0x99>/g<CR>ZZ

0 comments

#33 Alain Gilbert / @alain_gilbert - Score: 49 - 12/31/10 @ 10:04
f"r<0xe2><fe-58><0x9c>f'r<0xe2><fe-58><0x99>f"r<0xe2><fe-58><0x9d>jr<0xe2><fe-58><0x99>F'r<0xe2><fe-58><0x99>F'r<0xe2><fe-58><0x98>ZZ

0 comments

#34 Eike Schulte / @eikeschulte - Score: 55 - 12/31/10 @ 07:38
3wr<0xe2><fe-58><0x9c>10ww5lr<0xe2><fe-58><0x99>$r<0xe2><fe-58><0x9d>jr<0xe2><fe-58><0x99>^llr<0xe2><fe-58><0x98>2w4lr<0xe2><fe-58><0x99>ZZ

0 comments

#35 Mathias Bynens  / @mathias - Score: 65 - 04/08/11 @ 02:36
:q<BS>set enc=utf-8<CR>f"r<0xe2><fe-58><0x9d>r<0xe2><fe-58><0x9c>f'<0xe2><fe-58><0x99>r<0xe2><fe-58><0x99>f"r<0xe2><fe-58><0x9d>f'j0f'r<0xe2><fe-58><0x98>;r<0xe2><fe-58><0x99>f'r<0xe2><fe-58><0x99>ZZ

@mathias: Am I missing something here? How do you get it to load as UTF-8 using vimgolf’s .vimrc?

1 comment

#36 Guillaume Bonnoron / @gbonnoron - Score: 79 - 12/31/10 @ 03:00
:%s<Tab><BS><BS><BS><BS>/"/<0xe2><fe-58><0x9c>/<CR>:%s/"/<0xe2><fe-58><0x9d>/<CR>:<Up><Left><BS><0xe2><fe-58><0x99><Left><Left><BS>'<End>g<CR>llr<0xe2><fe-58><0x98>ZZ

0 comments

#37 Ujjwol Lamichhane / @Ujjwol - Score: 88 - 12/31/10 @ 02:09
:%s/\v"(("\w|[^"])+)"/<0xe2><fe-58><0x9c>\1<0xe2><fe-58><0x9d>/g<CR>:%s/\v'(('\w|[^"])+)'/<0xe2><fe-58><0x98>\1<0xe2><fe-58><0x99>/g<CR>:%s/'/<0xe2><fe-58><0x99><CR>ZZ

0 comments

#38 無ん垢の叫び / @john_ababa - Score: 215 - 02/23/12 @ 09:17
cGDh<0xe1><0xb9><fd-51>tar<0xc4><0x81><0xe1><0xb9><0xa3><0xe1><0xb9><0xad>ra said: <0xe2><fe-58><0x9c>O Sa<0xc3><0xb1>jaya what did my sons desirous of battle and P<0xc4><0x81><0xe1><0xb9><0x87><0xe1><0xb8><0x8d>u<0xe2><fe-58><0x99>s son do after assembling at the holy land of righteousness Kuruk<0xe1><0xb9><0xa3>etra ?<0xe2><fe-58><0x9d><CR>- <0xe2><fe-58><0x98>Bhagavad G<0xc4><0xab>t<0xc4><0x81><0xe2><fe-58><0x99>s first shokla<0xe2><fe-58><0x99><Esc>ZZ

0 comments

Created by: @Ujjwol

38 active golfers, 63 entries

Leaderboard (lowest score wins):
Jcmvbkbc_normal
28
#1 - jcmvbkbc / @jcmvbkbc

01/18/2011 at 01:09PM

Gintoki_normal
28
#2 - You-Siang Lin / @yslinnctu

12/02/2011 at 12:32AM

Q6hrg93p4r3hn56thmd0_normal
28
#3 - Urtica dioica / @udioica

07/08/2012 at 02:09AM

40051_789281885907_29616532_44170636_2091417_n_normal
28
#4 - Conner McDaniel / @connermcd

09/19/2012 at 09:51PM

Mugshotdog_normal
29
#5 - Henri Bourcereau / @mmai

12/31/2010 at 02:41AM

E55df1cc7d5fdb4ae9bc2afcb9afe7e4_normal
29
#6 - matthewd / @_matthewd

12/31/2010 at 03:25AM

Me-small_normal
29
#7 - Wei Dai / @clvv42

01/01/2011 at 11:44AM

Dom-50_normal
29
#8 - dominique pellé / @vimgolfisto

01/03/2011 at 12:44AM

512fisk_normal
29
#9 - Johannes Martinsson / @moxiba

01/07/2011 at 11:23AM

Jlove201003sq_normal
29
#10 - Justin Love / @wondible

07/02/2011 at 07:34AM

Default_profile_3_normal
30
#11 - aaaa3331 / @aaaa3331

01/04/2011 at 09:40AM

T_e_normal
30
#12 - Tim Chase / @gumnos

01/13/2011 at 12:49PM

Bunnies_normal
30
#13 - Trevor Powell / @DoomedBunnies

11/30/2011 at 04:17PM

Image_normal
31
#14 - Pete Johns / @johnsyweb

01/02/2011 at 12:16AM

Default_profile_4_normal
31
#15 - Aurélien Delahaye / @alkove

01/02/2011 at 03:05AM

45072b62-96bd-47e0-bb3a-83ec72a6e2af_normal
31
#16 - aimee / @sermoa

01/08/2011 at 09:55AM

Anger_normal
31
#17 - Dühöngő / @aswna

08/31/2011 at 12:11PM

N1353060027_30013425_5720_normal
32
#18 - Jordan Lewis / @JordanALewis

12/31/2010 at 07:39PM

08ed5cbe-a2d2-4503-9503-63d2236b1fba_normal
32
#19 - Soliman Sylvain / @sylvain_soliman

01/01/2011 at 10:00AM

N1061974171_6826_normal
33
#20 - Bradly Feeley / @bradly

01/10/2011 at 10:05PM

Shiraseon3_normal
34
#21 - Douglas Stockwell / @dstockwell

12/31/2010 at 01:28PM

E_normal
34
#22 - Vincent Isambart / @vincentisambart

12/31/2010 at 03:31PM

Avatar_normal
34
#23 - Øystein Walle / @oysteinwalle

07/05/2011 at 05:35PM

2010-05-13t17-56-23__1__normal
36
#24 - Marian Schubert / @MarianSchubert

12/31/2010 at 04:43AM

Default_profile_2_normal
36
#25 - Thomas Schönwälder / @Masei1988

01/15/2011 at 10:41AM

P1000007_normal
36
#26 - h_east (DDD ready) / @h_east

01/29/2011 at 06:55PM

Avatar-small_normal
36
#27 - Hu Junfeng / @hujunfeng

07/22/2011 at 12:51AM

Default_profile_6_normal
37
#28 - Francisco Dibar / @frandibar

01/06/2011 at 04:06PM

29ed1f20888463b3b72bd9fed88a79b8_normal
37
#29 - drio / @drio

01/10/2011 at 04:58AM

2_normal
38
#30 - Henrik Nyh / @henrik

12/31/2010 at 01:46AM

Thedward-gimped-out_normal
39
#31 - Thedward the Edward / @thedward

12/31/2010 at 01:53PM

Me_normal
40
#32 - Ricardo Sisnett / @mrjackinc

01/01/2011 at 09:55PM

6240_139454607906_723872906_3271730_5845230_n_normal
49
#33 - Alain Gilbert / @alain_gilbert

12/31/2010 at 10:04AM

Default_profile_2_normal
55
#34 - Eike Schulte / @eikeschulte

12/31/2010 at 07:38AM

Kung-fu_normal
65
#35 - Mathias Bynens  / @mathias

04/08/2011 at 02:36AM

262672_2181022843522_1185476898_32666605_6393658_n_normal
79
#36 - Guillaume Bonnoron / @gbonnoron

12/31/2010 at 03:00AM

The-milky-way-mardi-khola-007_normal
88
#37 - Ujjwol Lamichhane / @Ujjwol

12/31/2010 at 02:09AM

Bc879469f279ee24b7fbdfad7c2216d9_normal
215
#38 - 無ん垢の叫び / @john_ababa

02/23/2012 at 09:17AM