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 60 remaining solutions by signing in and submitting your own entry
#61 fff / @fff51460170 - Score: 57 - 02/20/21 @ 16:01
7jqaf"df"a"*"<Esc><Down>0q14@a<Down>3@a<Down><Down>@a:17<CR>f,xt a,<Esc>:20<CR>f,xt a,<Esc>:wq<CR>

0 comments


Created by: @pykJzzzsmAzloZl

61 active golfers, 200 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 / @AntonyukDmitry

08/24/2021 at 04:51PM

16
#15 - Roman Privalov / @RomanPrivalov

08/30/2021 at 12:31PM

17
#16 - roudens / @roudens2

12/27/2020 at 02:08PM

17
#17 - 영훈 / @odjfnrtm

12/31/2020 at 04:54AM

17
#18 - chocolate / @chocola81394123

01/06/2021 at 01:36AM

17
#19 - Björn Struckmeier / @BjrnStruckmeie1

01/06/2021 at 11:27AM

17
#20 - Tinko Minko / @tandikula

01/18/2021 at 10:34AM

17
#21 - Andreas Siegrist / @andreaszwei

01/28/2021 at 10:53PM

17
#22 - George Sanewashington / @sekolyn

02/02/2021 at 07:58AM

17
#23 - Fake Konto / @F4k3K0n70

02/13/2021 at 11:35AM

17
#24 - 김범준 / @kmbmjn

02/17/2021 at 02:03AM

17
#25 - せいほう / @FICSQF

02/25/2021 at 12:21AM

17
#26 - geosucker / @geosucker

02/26/2021 at 11:53AM

17
#27 - mindgitrwx / @mindgitrwx

02/28/2021 at 11:19AM

17
#28 - der tanzbaer / @der_tanzbaer

03/10/2021 at 08:35PM

17
#29 - treb / @treb03683130

03/12/2021 at 02:53PM

17
#30 - Paul Adlene / @AdlenePaul

03/16/2021 at 07:49PM