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 54345d14d529ef0002227d4c

That hyphen

"vim vi improved"

Start file
(vim -
vi
improved)
(vim
vi
improved)
End file
vim vi improved
(vim -
vi
improved)
(vim
vi
improved)

View Diff

0a1
> vim vi improved

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 653 remaining solutions by signing in and submitting your own entry
#654 Juampy NR / @juampynr - Score: 55 - 10/10/14 @ 20:33
<Esc>xJhxx<Esc>lJ<Esc>lllllllllllllx<Esc>ja '<BS>-<Esc>jjkk3yyjjp<Esc>lllllxx<Esc>:wq<CR>

0 comments


Created by: @udioica

654 active golfers, 2376 entries

Leaderboard (lowest score wins):
10
#241 - Scott / @chil2

04/02/2019 at 03:19AM

10
#242 - wanghbxxxx / @wanghbxxxx

04/08/2019 at 01:47AM

10
#243 - Arno / @arnoxmp

05/09/2019 at 07:46AM

10
#244 - ARK / @ARK69712394

05/12/2019 at 08:34PM

10
#245 - Erik Lindeborg / @ErikLindeborg

06/08/2019 at 11:43AM

10
#246 - Chester Yap / @Chest_ErYap

07/14/2019 at 07:50PM

10
#247 - vana / @vana15129217

07/22/2019 at 09:33AM

10
#248 - sooqua / @sooqua

08/09/2019 at 04:00AM

10
#249 - Wistan Chou / @wisty97

08/15/2019 at 04:58PM

10
#250 - Lory / @Lory46845742

11/08/2019 at 02:50PM

10
#251 - 임덕윤 / @SnLHUF5ZYJXqI1m

01/04/2020 at 12:41AM

10
#252 - Jason Neylon / @jasonneylon

02/15/2020 at 08:15AM

10
#253 - countime / @countime1

03/12/2020 at 11:04AM

10
#254 - floyd / @floyd10086

03/24/2020 at 05:00AM

10
#255 - eshel / @EshelBM

03/29/2020 at 07:22PM

10
#256 - Fnord Everywhere / @FnordE

05/14/2020 at 08:48AM

10
#257 - Bhagwan / @El_Bhagwan

05/14/2020 at 10:28PM

10
#258 - 于吉星 / @fishermryn

05/28/2020 at 09:28AM

11
#259 - Caek / @Caek_

10/08/2014 at 02:29AM

11
#260 - Eduardo / @earada

10/09/2014 at 07:09AM

11
#261 - mnx / @mnxx

10/09/2014 at 07:38AM

11
#262 - Pierre Bertet / @bpierre

10/10/2014 at 07:29PM

11
#263 - Jose Gutierrez / @Jogusa

10/12/2014 at 01:14PM

11
#264 - E Both / @enboth

10/13/2014 at 09:29AM

11
#265 - Will / @VVi11_I_AM

10/14/2014 at 02:07AM

11
#266 - Tomasz Wesołowski / @KosGD

10/14/2014 at 08:24AM

11
#267 - George Crabtree / @supercrabtree

10/17/2014 at 10:21PM

11
#268 - block_given? / @block_given

10/18/2014 at 02:36AM

11
#269 - Avia Aharon / @aviaron

10/20/2014 at 08:02PM

11
#270 - Ryan Glassett / @rollsavager

10/22/2014 at 04:23PM