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 5054baaafa0b390002000029

SFD-ROC: vimvimvim

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

Start file
vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
End file
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim
vim

View Diff

1c1,26
< vimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvimvim
---
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim
> vim

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 423 remaining solutions by signing in and submitting your own entry
#424 Joshua Travis / @jktravis - Score: 27 - 11/11/12 @ 01:44
:%s/\(m\)\<BS>/\1\r/g<CR>dd:w<CR>:q<CR>

0 comments


Created by: @Remy_D

424 active golfers, 1508 entries

Leaderboard (lowest score wins):
8
#61 - kemar / @le_kemar

08/25/2014 at 10:14AM

8
#62 - Matt Robbins / @mcrmfc

11/14/2014 at 10:54PM

8
#63 - benekeusz / @benekeusz

12/09/2014 at 12:31PM

8
#64 - Wade / @vvandy

12/17/2014 at 10:09PM

8
#65 - Jake Eskel / @JakeEskel

12/31/2014 at 05:50PM

8
#66 - kimber gonzalez / @kimberlycreates

01/15/2015 at 10:51PM

8
#67 - pftb12345 / @pftb12345

04/09/2015 at 01:31PM

8
#68 - Raj / @brshenoy

06/03/2015 at 03:09PM

8
#69 - Evan Coleman / @edc1591

06/03/2015 at 03:09PM

8
#70 - Jack Z / @itszhou

06/28/2015 at 06:40PM

8
#71 - Louis Burke / @LambdaABeta

07/10/2015 at 01:30PM

8
#72 - Mutter Mumble / @muttermumble

07/12/2015 at 11:03AM

8
#73 - Kevin Merlin / @mp3merlin

09/17/2015 at 09:34AM

8
#74 - Mike Adams / @davis_cromwell

10/11/2015 at 01:53AM

8
#75 - Walker Boh / @walker_boh

10/12/2015 at 08:29AM

8
#76 - we’re going to need a bigger bot / @assaflavie

12/22/2015 at 08:37PM

8
#77 - Aleksey Zhidkov / @AlexeyZhidkov

02/19/2016 at 04:08AM

8
#78 - Jake Griffin / @J4K0_G

04/22/2016 at 11:52PM

8
#79 - Ameen P / @Ameen_P1

06/25/2016 at 05:41PM

8
#80 - Will / @obiwan__k3n00bi

09/01/2016 at 02:21AM

8
#81 - Daniel Bellenger / @DanielBellenger

10/16/2016 at 05:06PM

8
#82 - trx / @trxdbg

10/26/2016 at 12:42PM

8
#83 - ABS JOHNSON / @ABSJOHNSON1

12/20/2016 at 04:53PM

8
#84 - Pierre Maoui / @poupougnac

12/31/2016 at 11:35AM

8
#85 - setNull / @dadaojiemo

03/01/2017 at 01:36AM

8
#86 - Zhihong Liu / @pieapple03

03/03/2017 at 04:28PM

8
#87 - Daniel / @Daniel00288663

03/22/2017 at 02:24PM

8
#88 - Tiago E. Triques / @tiagotriques

03/28/2017 at 04:42PM

8
#89 - 梧桐王子 / @WutongYujie

06/06/2017 at 02:38AM

8
#90 - Bennett Bernardoni / @BBernardoni

07/03/2017 at 09:08PM