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

RUST Cargo.toml version to last

RUST Cargo.toml version to last. rusty practice on vimgolf

Start file
[package]
name = "rust-web"
version = "0.1.0"
authors = ["The Rust Developers"]
edition = "2018"

[dependencies]
lazy_static = "1.2.0"
fluent = "0.13"
fluent-bundle = "0.6.0"
fluent-syntax = "0.10.0"
fluent-locale = "0.10.1"
handlebars-fluent = "0.2.0"
rand = "0.8"
regex = "1"
rocket = "0.4.6"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8.14"
sass-rs = "0.2.1"
reqwest = { version = "0.10.10", features = ["blocking", "json"] }
toml = "0.5"
serde_json = "1.0"
rust_team_data = { git = "https://github.com/rust-lang/team" }
handlebars = "1.1.0"
siphasher = "0.3.3"
percent-encoding = "2.1.0"

[dependencies.rocket_contrib]
version = "0.4"
default-features = false
features = ["handlebars_templates"]
End file
[package]
name = "rust-web"
version = "0.1.0"
authors = ["The Rust Developers"]
edition = "2018"

[dependencies]
lazy_static = "*"
fluent = "*"
fluent-bundle = "*"
fluent-syntax = "*"
fluent-locale = "*"
handlebars-fluent = "*"
rand = "*"
regex = "*"
rocket = "*"
serde = { version = "*", features = ["derive"] }
serde_yaml = "*"
sass-rs = "*"
reqwest = { version = "*", features = ["blocking", "json"] }
toml = "*"
serde_json = "*"
rust_team_data = { git = "https://github.com/rust-lang/team" }
handlebars = "*"
siphasher = "*"
percent-encoding = "*"

[dependencies.rocket_contrib]
version = "*"
default-features = false
features = ["handlebars_templates"]

View Diff

8,22c8,22
< lazy_static = "1.2.0"
< fluent = "0.13"
< fluent-bundle = "0.6.0"
< fluent-syntax = "0.10.0"
< fluent-locale = "0.10.1"
< handlebars-fluent = "0.2.0"
< rand = "0.8"
< regex = "1"
< rocket = "0.4.6"
< serde = { version = "1.0", features = ["derive"] }
< serde_yaml = "0.8.14"
< sass-rs = "0.2.1"
< reqwest = { version = "0.10.10", features = ["blocking", "json"] }
< toml = "0.5"
< serde_json = "1.0"
---
> lazy_static = "*"
> fluent = "*"
> fluent-bundle = "*"
> fluent-syntax = "*"
> fluent-locale = "*"
> handlebars-fluent = "*"
> rand = "*"
> regex = "*"
> rocket = "*"
> serde = { version = "*", features = ["derive"] }
> serde_yaml = "*"
> sass-rs = "*"
> reqwest = { version = "*", features = ["blocking", "json"] }
> toml = "*"
> serde_json = "*"
24,26c24,26
< handlebars = "1.1.0"
< siphasher = "0.3.3"
< percent-encoding = "2.1.0"
---
> handlebars = "*"
> siphasher = "*"
> percent-encoding = "*"
29c29
< version = "0.4"
---
> version = "*"

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 20 remaining solutions by signing in and submitting your own entry
#21 Richard Leigh Davies / @RichardDaviesAI - Score: 28 - 01/18/21 @ 08:38
}VG:s/"[0-9.]*"/"*"/g<CR>:Q<BS>wq<CR>

0 comments


Created by: @pykJzzzsmAzloZl

21 active golfers, 57 entries

Leaderboard (lowest score wins):
16
#1 - John Braxler / @braxler

12/23/2020 at 07:25PM

16
#2 - Jon Krause / @jkrause314

12/23/2020 at 09:17PM

16
#3 - 김도현 / @pykJzzzsmAzloZl

12/23/2020 at 09:30PM

16
#4 - Zhenkai W. / @Zhenkai_W

12/24/2020 at 02:47AM

16
#5 - Jung Yeon Park / @park_jungy

01/04/2021 at 01:05AM

16
#6 - Ravi S Sinha / @ambidextrousTx

01/06/2021 at 02:44AM

16
#7 - A A A / @37fatos

01/10/2021 at 05:40PM

16
#8 - 蔡徐坤真是爱吃屎 / @Hashub7

01/21/2021 at 11:01AM

17
#9 - roudens / @roudens2

12/27/2020 at 02:08PM

17
#10 - 영훈 / @odjfnrtm

12/31/2020 at 04:54AM

17
#11 - chocolate / @chocola81394123

01/06/2021 at 01:36AM

17
#12 - Björn Struckmeier / @BjrnStruckmeie1

01/06/2021 at 11:27AM

17
#13 - Tinko Minko / @tandikula

01/18/2021 at 10:34AM

18
#14 - Smylers / @Smylers2

12/23/2020 at 01:01PM

18
#15 - Filipe Brandenburger / @filbranden

12/23/2020 at 07:06PM

19
#16 - neonunux / @neonunux

12/23/2020 at 04:01PM

19
#17 - Mauricio Ariza / @_hell_spawn

12/29/2020 at 01:32AM

25
#18 - mevmev / @mevmev8

12/24/2020 at 12:50AM

25
#19 - Kapildev Neupane / @KapildevNeupane

01/01/2021 at 03:23PM

26
#20 - Manas / @weirdsmiley_

12/24/2020 at 02:29PM

28
#21 - Richard Leigh Davies / @RichardDaviesAI

01/18/2021 at 08:38AM