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 60340000c06738000924d803

Inverting Lines

A simple challenge to invert all lines, except the first.

Start file
Heres the thing about Vim.
Ex mode too, and its magic!
Ex commands, there be dragons!
Until you realize it can help you be more efficient.
Learning about regexes sounds boring,
End file
Heres the thing about Vim.
Learning about regexes sounds boring,
Until you realize it can help you be more efficient.
Ex commands, there be dragons!
Ex mode too, and its magic!

View Diff

2,4d1
< Ex mode too, and its magic!
< Ex commands, there be dragons!
< Until you realize it can help you be more efficient.
5a3,5
> Until you realize it can help you be more efficient.
> Ex commands, there be dragons!
> Ex mode too, and its magic!

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 511 remaining solutions by signing in and submitting your own entry
#512 Benjamin / @benjamin_le_ - Score: 73 - 05/21/22 @ 09:11
jjjjyl<Up><Up><Up><Up><Down>Op<BS><Esc>p<BS><Down>ppuuuuggGyyGggphjjjyylljkkkkp,..uujjjkyykkpljjdddddd:x<CR>

0 comments


Created by: @iviarcio

512 active golfers, 1907 entries

Leaderboard (lowest score wins):
11
#271 - KoroneListener / @KoroneListener

09/04/2024 at 04:25PM

11
#272 - daniilsvirin / @daniilsvirin

10/16/2024 at 09:22AM

12
#273 - James Rayman / @jamsramen

02/25/2021 at 06:43AM

12
#274 - Jake Hedman / @JakeHedman

02/25/2021 at 01:36PM

12
#275 - Marc Assens / @marcassens

02/25/2021 at 05:43PM

12
#276 - a guy / @ayylmsklfjnalsd

02/25/2021 at 10:44PM

12
#277 - jfroffice / @jfroffice

02/26/2021 at 02:38PM

12
#278 - vimgolf321798 / @vimgolf321798

02/26/2021 at 08:24PM

12
#279 - Roland Venesz / @steerio

02/27/2021 at 08:18PM

12
#280 - Piers (Ali) Barber / @logicmonkey0

03/05/2021 at 11:51PM

12
#281 - wuzirui / @wuzirui5

03/10/2021 at 12:33PM

12
#282 - MexicanGolf / @GolfMexican

03/13/2021 at 10:13AM

12
#283 - mindgitrwx / @mindgitrwx

03/14/2021 at 04:19PM

12
#284 - Linus Bergman / @LinusBergman8

04/30/2021 at 07:42AM

12
#285 - Robear Selwans / @mo7sener

05/12/2021 at 02:40PM

12
#286 - Calarasanu Andrei / @_fanfani4_

05/18/2021 at 08:09PM

12
#287 - grsh / @girish_i_am

05/21/2021 at 03:00PM

12
#288 - noname / @1____NULL____0

07/11/2021 at 08:26PM

12
#289 - tpoeiras / @tpoeirass

08/03/2021 at 04:24PM

12
#290 - Yeontaek Kim / @YeontaekK

08/21/2021 at 03:12AM

12
#291 - zai / @zaidhaaan

09/13/2021 at 12:23PM

12
#292 - Max Muster / @musterm0815

11/20/2021 at 02:27PM

12
#293 - ややお / @yayaoh

12/22/2021 at 12:58AM

12
#294 - Guillaume Peillex / @GPeillex2

02/21/2022 at 05:25PM

12
#295 - x03n046 / @x03n046

05/13/2022 at 12:48AM

12
#296 - Irakli Chigvaria / @tchigvaria

05/28/2022 at 07:27AM

12
#297 - Siddharth Murali / @SidTweetsALess

07/12/2022 at 06:32AM

12
#298 - Sarang Khim / @sarang_khim

07/27/2022 at 08:32AM

12
#299 - brett / @brettyukich

07/27/2022 at 12:18PM

12
#300 - SH / @SH37248866

09/21/2022 at 07:31PM