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 99 remaining solutions by signing in and submitting your own entry
#100 Matthieu Talbot / @MartyLake - Score: 269 - 12/20/23 @ 19:36
7jVG:s*<BS>/ = "[^"*/<Left><Left>]<Right><Right><Esc><Esc><Esc>:g/<<BS>^<.*><BS><BS><BS>.*>/s(<BS>/<BS><BS><Left> = "<Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Right>\v<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>p<CR>:<Up><BS><BS><BS><BS><BS><BS><BS><BS><BS><BS><><BS>*<0xc2><0xbb><BS><BS>*><Left><Left>.<Right><Right><BS><BS><BS><BS>[^ ]* = "<Left><Left><Left>\<Right><Right><Right><Right><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Left><Right><Right>(<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>)[^"]*/\1*/<CR><Down>8jkkkVG:s/\v()<Left>^[^ ]* = <BS><BS>\= ".*<BS><BS>[^"]*<Right><BS><Left><Left><Left><Left><Left>)<Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right>/\1*/<CR>:<Up><Home><Right><Right><Right><Right><Right><Right><Right><Right><Right><Right><Del><Del><Del><Del><Del><Del>version<CR><Esc>:x<CR>

0 comments


Created by: @pykJzzzsmAzloZl

100 active golfers, 355 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

16
#9 - Jianfeng / @Jianfen22425058

02/02/2021 at 06:11AM

16
#10 - maxtong / @maxtong1987

03/13/2021 at 05:05AM

16
#11 - pikjes / @pikjes2

03/21/2021 at 01:15PM

16
#12 - Olle Wiklund / @Kabix

04/19/2021 at 11:33PM

16
#13 - damned-me / @damned_me_

05/24/2021 at 07:46PM

16
#14 - Dmitry Antonyuk / @dm_antonyuk

08/24/2021 at 04:51PM

16
#15 - Roman Privalov / @RomanPrivalov

08/30/2021 at 12:31PM

16
#16 - russellzhaomao / @russellzhaomao

05/22/2022 at 12:08PM

16
#17 - Alex / @AlexanderHeatl2

07/11/2022 at 11:27PM

16
#18 - anakojm / @anakojm

07/15/2022 at 01:38AM

16
#19 - loupiot.veloce / @LoupiotVeloce

07/25/2022 at 07:31AM

16
#20 - Qther / @qtherlol

10/12/2022 at 01:19PM

16
#21 - Dank City / @ddankcity

12/14/2022 at 12:57PM

16
#22 - Diogo Friggo / @diogofriggobr

08/21/2023 at 07:12PM

16
#23 - Topvimgolf Score / @topvimgolfscore

09/21/2023 at 11:11AM

16
#24 - MonkieeBoi / @MonkieeBoi

11/22/2023 at 06:34AM

16
#25 - Peppa Pig / @PeppaPi95550250

07/02/2024 at 05:34AM

16
#26 - nickGPT / @nickandbro

08/24/2024 at 03:27AM

17
#27 - roudens / @roudens2

12/27/2020 at 02:08PM

17
#28 - 영훈 / @odjfnrtm

12/31/2020 at 04:54AM

17
#29 - chocolate / @chocola81394123

01/06/2021 at 01:36AM

17
#30 - Björn Struckmeier / @BjrnStruckmeie1

01/06/2021 at 11:27AM