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

51 active golfers, 157 entries

Leaderboard (lowest score wins):
17
#31 - Sven Kõiv / @KoivSven

05/09/2021 at 04:35PM

18
#32 - Smylers / @Smylers2

12/23/2020 at 01:01PM

18
#33 - Filipe Brandenburger / @filbranden

12/23/2020 at 07:06PM

18
#34 - Zihang Xia / @Xia_Zihang

01/29/2021 at 06:21AM

18
#35 - Tobia Bocchi / @BocchiTobia

02/19/2021 at 12:01PM

18
#36 - AAbraxas / @AAbraxas1

03/12/2021 at 08:51PM

18
#37 - simplelife2010 / @simplelife20101

05/15/2021 at 04:46PM

19
#38 - neonunux / @neonunux

12/23/2020 at 04:01PM

19
#39 - Mauricio Ariza / @_hell_spawn

12/29/2020 at 01:32AM

20
#40 - grsh / @girish_i_am

05/22/2021 at 06:06PM

21
#41 - Arya Kumar / @SusSquirrel

05/18/2021 at 02:29AM

25
#42 - mevmev / @mevmev8

12/24/2020 at 12:50AM

25
#43 - Kapildev Neupane / @KapildevNeupane

01/01/2021 at 03:23PM

25
#44 - Laurent Atlan / @laurentatlan1

03/21/2021 at 06:36PM

26
#45 - Manas / @weirdsmiley_

12/24/2020 at 02:29PM

26
#46 - Christoph / @Christo41827663

03/26/2021 at 10:35PM

28
#47 - Richard Leigh Davies / @RichardDaviesAI

01/18/2021 at 08:38AM

28
#48 - :wq / @write_quit_22

05/18/2021 at 05:36PM

30
#49 - Youngchan Lee / @edwardycl

05/26/2021 at 03:26AM

36
#50 - ever0de / @ever0de

05/26/2021 at 06:33AM

57
#51 - fff / @fff51460170

02/20/2021 at 04:01PM