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