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):
18
#61 - Adam / @Adam75625825

06/27/2021 at 04:02PM

18
#62 - Florian Leitner / @flowing

12/06/2022 at 10:40PM

18
#63 - RosaTryp / @RosaTryp

06/08/2023 at 05:02PM

19
#64 - neonunux / @neonunux

12/23/2020 at 04:01PM

19
#65 - Mauricio Ariza / @_hell_spawn

12/29/2020 at 01:32AM

19
#66 - vimgolfaccfekxh / @vimgolfaccfekxh

10/30/2022 at 01:40PM

20
#67 - grsh / @girish_i_am

05/22/2021 at 06:06PM

20
#68 - Volodymyr L / @Vladymyr_L

11/07/2021 at 10:54AM

20
#69 - xiaoao1024 / @xiaoao1024

05/09/2024 at 11:26AM

21
#70 - Arya Kumar / @SusSquirrel

05/18/2021 at 02:29AM

21
#71 - Philipp Schilk / @philipp_schilk

09/30/2023 at 03:27PM

21
#72 - Giacomo Sansone / @pcineverdies

07/02/2024 at 05:34PM

22
#73 - 盧小小 / @VegetaLu

04/02/2022 at 08:02AM

22
#74 - James / @Dronak

11/08/2022 at 08:09PM

22
#75 - raverbash / @raverbash

08/14/2023 at 08:18AM

22
#76 - ilyas / @Ahaaah2071

09/16/2023 at 09:57PM

23
#77 - Matthew Beaumont / @mattybeau_dev

11/27/2021 at 04:30PM

23
#78 - くりち / 栗原佑弥 / @kurichi97

07/04/2023 at 06:02AM

24
#79 - leo / @leo848b

09/14/2022 at 06:00PM

25
#80 - mevmev / @mevmev8

12/24/2020 at 12:50AM

25
#81 - Kapildev Neupane / @KapildevNeupane

01/01/2021 at 03:23PM

25
#82 - Laurent Atlan / @laurentatlan1

03/21/2021 at 06:36PM

25
#83 - Abdelrahman Madkour / @A3Madkour

10/05/2023 at 05:39PM

25
#84 - sherwyn / @ika-musuko

06/29/2024 at 07:12PM

26
#85 - Manas / @weirdsmiley_

12/24/2020 at 02:29PM

26
#86 - Christoph / @Christo41827663

03/26/2021 at 10:35PM

28
#87 - Richard Leigh Davies / @RichardDaviesAI

01/18/2021 at 08:38AM

28
#88 - :wq / @write_quit_22

05/18/2021 at 05:36PM

29
#89 - Alessandro Cantini / @aecant

10/06/2021 at 05:13PM

29
#90 - Jonathan / @engiwengi_

10/22/2022 at 04:11AM