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 by @0xf00ff00f:

Unlock 3 remaining solutions by signing in and submitting your own entry
Created by: @rohitrango

156 active golfers, 278 entries

Solutions by @0xf00ff00f:
10
#142 - 0xf00ff00f / @0xf00ff00f

12/15/2022 at 03:23PM

18
#>151 - 0xf00ff00f / @0xf00ff00f

12/15/2022 at 03:27PM

18
#>151 - 0xf00ff00f / @0xf00ff00f

12/15/2022 at 03:45PM