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 686 remaining solutions by signing in and submitting your own entry
#687 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

687 active golfers, 2517 entries

Leaderboard (lowest score wins):
10
#241 - Marcos Almeida / @almeidamarcos_

06/30/2018 at 03:54PM

10
#242 - Bobby Showalter / @bobbyshowalter

08/07/2018 at 06:59PM

10
#243 - Brendan B Amdocs / @AmdocsB

09/25/2018 at 03:54PM

10
#244 - Mihai / @mihaicristiant

12/04/2018 at 12:45PM

10
#245 - band / @band26376522

12/04/2018 at 11:38PM

10
#246 - 默罕默德 / @Rt6RjEAJ987Woes

01/22/2019 at 01:30PM

10
#247 - Alex Standke / @xanderstrike

01/25/2019 at 06:29PM

10
#248 - Kris Ezra / @kris_ezra

02/03/2019 at 09:03PM

10
#249 - Mateen Ulhaq / @sicariusnoctis

02/13/2019 at 06:14AM

10
#250 - LUTZ Jean / @Croustibot

03/05/2019 at 02:15PM

10
#251 - ahm4711 / @ahm4711

03/07/2019 at 11:22PM

10
#252 - tenteke / @kuskus3

03/14/2019 at 03:09PM

10
#253 - Scott / @chil2

04/02/2019 at 03:19AM

10
#254 - wanghbxxxx / @wanghbxxxx

04/08/2019 at 01:47AM

10
#255 - Arno / @arnoxmp

05/09/2019 at 07:46AM

10
#256 - ARK / @ARK69712394

05/12/2019 at 08:34PM

10
#257 - Erik Lindeborg / @ErikLindeborg

06/08/2019 at 11:43AM

10
#258 - Chester Yap / @Chest_ErYap

07/14/2019 at 07:50PM

10
#259 - vana / @vana15129217

07/22/2019 at 09:33AM

10
#260 - sooqua / @sooqua

08/09/2019 at 04:00AM

10
#261 - Wistan Chou / @wisty97

08/15/2019 at 04:58PM

10
#262 - Lory / @Lory46845742

11/08/2019 at 02:50PM

10
#263 - 임덕윤 / @SnLHUF5ZYJXqI1m

01/04/2020 at 12:41AM

10
#264 - Jason Neylon / @jasonneylon

02/15/2020 at 08:15AM

10
#265 - countime / @countime1

03/12/2020 at 11:04AM

10
#266 - floyd / @floyd10086

03/24/2020 at 05:00AM

10
#267 - eshel / @EshelBM

03/29/2020 at 07:22PM

10
#268 - Fnord Everywhere / @FnordE

05/14/2020 at 08:48AM

10
#269 - iBhagwan / @iiBhagwan

05/14/2020 at 10:28PM

10
#270 - 于吉星 / @fishermryn

05/28/2020 at 09:28AM