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 9v0066d8266e000000000367

Search different SQL column with similar where clause

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

Start file
SELECT * FROM numbers WHERE local_number IN (
	"058307327",
	"058307328",
	"058307329"
)
End file
SELECT * FROM numbers WHERE int_number IN (
	35958307327,
	35958307328,
	35958307329
)

View Diff

1,4c1,4
< SELECT * FROM numbers WHERE local_number IN (
< 	"058307327",
< 	"058307328",
< 	"058307329"
---
> SELECT * FROM numbers WHERE int_number IN (
> 	35958307327,
> 	35958307328,
> 	35958307329

Solutions by @honeybearsoup:

Unlock 13 remaining solutions by signing in and submitting your own entry
Created by: @stoyandimov

85 active golfers, 360 entries

Solutions by @honeybearsoup:
22
#19 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:58PM

23
#>30 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:56PM

24
#>34 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:54PM

25
#>41 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:53PM

27
#>53 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:48PM

28
#>59 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:45PM

29
#>60 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:39PM

30
#>61 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:35PM

30
#>61 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:37PM

33
#>72 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:33PM

35
#>75 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:30PM

37
#>75 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:29PM

37
#>75 - honeybearsoup / @honeybearsoup

05/30/2026 at 02:30PM