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 5d2eb22d2fdc4f0009d79444

change parenthesis

change the pair of braces into a pair of parentheses

Start file
this is some text {inside a pair of braces} and you need to change it into (brackets)
End file
this is some text (inside a pair of braces) and you need to change it into (brackets)

View Diff

1c1
< this is some text {inside a pair of braces} and you need to change it into (brackets)
---
> this is some text (inside a pair of braces) and you need to change it into (brackets)

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 122 remaining solutions by signing in and submitting your own entry
#123 Philip McHugh / @PhilipMcHugh_IE - Score: 44 - 12/07/19 @ 18:06
:s/{}<BS>}<BS>/(/:s/}<Left><Left><Left><Left><Del>&&<Del><Del><Del><BS><BS> | s:<BS>/}/)/<CR><Esc>:wq<CR>

0 comments


Created by: @rohitrango

123 active golfers, 218 entries

Leaderboard (lowest score wins):
9
#61 - Roger Stoltz / @rogsto1

11/15/2019 at 10:02PM

9
#62 - galanaki / @galanaki

11/22/2019 at 09:09AM

9
#63 - pysnow530 / @pysnow530

11/25/2019 at 05:34AM

9
#64 - John Grove / @grovejt

12/15/2019 at 02:42PM

9
#65 - vicver09 / @vicver091

12/18/2019 at 06:50PM

9
#66 - Rafael Lin / @RafaelLin0310

12/20/2019 at 04:08PM

9
#67 - skamgolf / @skamgolf

12/21/2019 at 07:44PM

9
#68 - James Casey / @hanavi

12/21/2019 at 09:34PM

9
#69 - BESSENG A IREH Guy / @guybesseng

12/23/2019 at 07:21PM

9
#70 - Delon / @delonleonard

01/20/2020 at 01:20PM

9
#71 - Michael Meixner / @meixner62

01/23/2020 at 03:02PM

9
#72 - Nick Lee / @TooManyNickLees

04/05/2020 at 10:06PM

9
#73 - Jason / @roosjason

05/31/2020 at 11:13PM

10
#74 - Benoit Benoit / @Benoit_Tgt

07/17/2019 at 07:31AM

10
#75 - Mauricio Ariza / @_hell_spawn

07/17/2019 at 01:27PM

10
#76 - Norbert / @mullno

07/17/2019 at 08:45PM

10
#77 - mocoma / @mocoma1

07/17/2019 at 11:37PM

10
#78 - Nick Yeow / @nickyeow

07/18/2019 at 03:52PM

10
#79 - bpseudopod / @bpseudopod

07/18/2019 at 05:45PM

10
#80 - Bradley M. Small / @BradleySmall

07/19/2019 at 01:07AM

10
#81 - Jacob Degeling / @JacobDegeling

07/19/2019 at 01:24AM

10
#82 - Reportados123 / @reportados123

07/19/2019 at 08:47PM

10
#83 - FreeTheBSD / @FreeTheBSD

07/20/2019 at 03:41AM

10
#84 - Scott Schlesier / @sschlesier

07/21/2019 at 03:55AM

10
#85 - Miki Tebeka / @tebeka

07/22/2019 at 02:37AM

10
#86 - vana / @vana15129217

07/23/2019 at 07:51AM

10
#87 - Fred Leclerc / @fredleclerc

07/24/2019 at 03:25PM

10
#88 - Peter Meehan / @22A

07/27/2019 at 06:12PM

10
#89 - Matt Vaughn / @mattttvaughn

07/29/2019 at 02:00AM

10
#90 - Jonathan Browning / @yungjig90

07/30/2019 at 08:43PM