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):
17
#31 - Tinko Minko / @tandikula

01/18/2021 at 10:34AM

17
#32 - Andreas Siegrist / @andreaszwei

01/28/2021 at 10:53PM

17
#33 - George Sanewashington / @sekolyn

02/02/2021 at 07:58AM

17
#34 - Fake Konto / @F4k3K0n70

02/13/2021 at 11:35AM

17
#35 - 김범준 / @kmbmjn

02/17/2021 at 02:03AM

17
#36 - せいほう / @FICSQF

02/25/2021 at 12:21AM

17
#37 - geosucker / @geosucker

02/26/2021 at 11:53AM

17
#38 - mindgitrwx / @mindgitrwx

02/28/2021 at 11:19AM

17
#39 - der tanzbaer / @der_tanzbaer

03/10/2021 at 08:35PM

17
#40 - treb / @treb03683130

03/12/2021 at 02:53PM

17
#41 - Paul Adlene / @AdlenePaul

03/16/2021 at 07:49PM

17
#42 - Dfff / @Dfff95766037

03/23/2021 at 02:20PM

17
#43 - Ray Dennis / @raysden

03/29/2021 at 01:52PM

17
#44 - Sven Kõiv / @KoivSven

05/09/2021 at 04:35PM

17
#45 - 悟史 / @A1OBJTxN5fTg5EJ

07/13/2021 at 04:06PM

17
#46 - e1mnos / @e1mnos

08/12/2021 at 05:30PM

17
#47 - yancy / @yancy_dong

09/16/2021 at 01:18PM

17
#48 - Jean George / @JeanGeo20504212

04/03/2022 at 09:19PM

17
#49 - quemeraisc / @quemeraisc

05/06/2022 at 07:48AM

17
#50 - xtncl / @xtncl

06/10/2022 at 11:01PM

17
#51 - Ansel Bobrow / @garlicWharfRat

12/27/2022 at 11:49PM

17
#52 - FirstModus / @Nolimimer

04/09/2023 at 09:59AM

17
#53 - naka / @nak38223985244

07/23/2023 at 03:21AM

17
#54 - Luoyb / @Luoyb

10/24/2023 at 08:47AM

18
#55 - "Smylers" / @Smylers2

12/23/2020 at 01:01PM

18
#56 - Filipe Brandenburger / @filbranden

12/23/2020 at 07:06PM

18
#57 - Zihang Xia / @Xia_Zihang

01/29/2021 at 06:21AM

18
#58 - Tobia Bocchi / @BocchiTobia

02/19/2021 at 12:01PM

18
#59 - AAbraxas / @AAbraxas1

03/12/2021 at 08:51PM

18
#60 - simplelife2010 / @simplelife20101

05/15/2021 at 04:46PM