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 @a3madkour:

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

54 active golfers, 220 entries

Solutions by @a3madkour:
22
#13 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:48AM

23
#>21 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:48AM

24
#>23 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:47AM

25
#>29 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:46AM

26
#>32 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:45AM

27
#>38 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:45AM

28
#>41 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:44AM

30
#>43 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:43AM

33
#>47 - Abdelrahman Madkour / @a3madkour

04/07/2025 at 11:42AM