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 50d0d80eaa503f000200001b

Swap assigned value

Simple problem but looking for interesting solutions.

Start file
app.config['CHALLENGE_FOLDER'] = SOLUTIONS_FOLDER
app.config['SOLUTIONS_FOLDER'] = CHALLENGE_FOLDER
End file
app.config['CHALLENGE_FOLDER'] = CHALLENGE_FOLDER
app.config['SOLUTIONS_FOLDER'] = SOLUTIONS_FOLDER

View Diff

diff --git 1/tmp/vimgolf_problem.in 2/tmp/vimgolf_problem.out
index 686e836..225e001 100644
--- 1/tmp/vimgolf_problem.in
+++ 2/tmp/vimgolf_problem.out
@@ -1,2 +1,2 @@
-app.config['CHALLENGE_FOLDER'] = SOLUTIONS_FOLDER
-app.config['SOLUTIONS_FOLDER'] = CHALLENGE_FOLDER
+app.config['CHALLENGE_FOLDER'] = CHALLENGE_FOLDER
+app.config['SOLUTIONS_FOLDER'] = SOLUTIONS_FOLDER

Solutions by @nickandbro:

Unlock 14 remaining solutions by signing in and submitting your own entry
Created by: @Prafulfillment

259 active golfers, 671 entries

Solutions by @nickandbro:
10
#113 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

11
#>196 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

12
#>217 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

13
#>234 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

14
#>239 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

15
#>241 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

16
#>245 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

17
#>250 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

18
#>253 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

20
#>254 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

21
#>255 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

24
#>256 - nickGPT / @nickandbro

08/28/2024 at 07:08PM

31
#>258 - nickGPT / @nickandbro

08/28/2024 at 07:07PM

101
#>259 - nickGPT / @nickandbro

08/28/2024 at 07:07PM