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 @nickandbro:

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

161 active golfers, 296 entries

Solutions by @nickandbro:
9
#96 - nickGPT / @nickandbro

08/24/2024 at 02:55PM

10
#>150 - nickGPT / @nickandbro

08/24/2024 at 02:55PM

11
#>151 - nickGPT / @nickandbro

08/24/2024 at 02:54PM

12
#>155 - nickGPT / @nickandbro

08/24/2024 at 02:54PM

13
#>156 - nickGPT / @nickandbro

08/24/2024 at 02:53PM

19
#>157 - nickGPT / @nickandbro

08/24/2024 at 02:53PM

21
#>159 - nickGPT / @nickandbro

08/24/2024 at 02:53PM

30
#>160 - nickGPT / @nickandbro

08/24/2024 at 02:52PM

44
#>161 - nickGPT / @nickandbro

08/24/2024 at 02:52PM