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

Filter number combinations that don't add to 11

Append the sum of each line to its end, alongside an equals sign, and remove any that do not sum to 11. The ordering of lines should stay the same. Note that the combinations are semi-arbitrary and not all 4-number combinations are present in the file.

Start file
1+1+2+2
1+1+2+4
1+1+2+6
1+1+2+8
1+1+4+2
1+1+4+4
1+1+4+6
1+1+4+8
1+1+6+2
1+1+6+4
1+1+6+6
1+1+6+8
1+1+8+2
1+1+8+4
1+1+8+6
1+1+8+8
1+3+2+2
1+3+2+4
1+3+2+6
1+3+2+8
1+3+4+2
1+3+4+4
1+3+4+6
1+3+4+8
1+3+6+2
1+3+6+4
1+3+6+6
1+3+6+8
1+3+8+2
1+3+8+4
1+3+8+6
1+3+8+8
1+5+2+2
1+5+2+4
1+5+2+6
1+5+2+8
1+5+4+2
1+5+4+4
1+5+4+6
1+5+4+8
1+5+6+2
1+5+6+4
1+5+6+6
1+5+6+8
1+5+8+2
1+5+8+4
1+5+8+6
1+5+8+8
1+7+2+2
1+7+2+4
1+7+2+6
1+7+2+8
1+7+4+2
1+7+4+4
1+7+4+6
1+7+4+8
1+7+6+2
1+7+6+4
1+7+6+6
1+7+6+8
1+7+8+2
1+7+8+4
1+7+8+6
1+7+8+8
2+1+2+2
2+1+2+4
2+1+2+6
2+1+2+8
2+1+4+2
2+1+4+4
2+1+4+6
2+1+4+8
2+1+6+2
2+1+6+4
2+1+6+6
2+1+6+8
2+1+8+2
2+1+8+4
2+1+8+6
2+1+8+8
2+3+2+2
2+3+2+4
2+3+2+6
2+3+2+8
2+3+4+2
2+3+4+4
2+3+4+6
2+3+4+8
2+3+6+2
2+3+6+4
2+3+6+6
2+3+6+8
2+3+8+2
2+3+8+4
2+3+8+6
2+3+8+8
2+5+2+2
2+5+2+4
2+5+2+6
2+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3+5+6+8
< 3+5+8+2
< 3+5+8+4
< 3+5+8+6
< 3+5+8+8
< 3+7+2+2
< 3+7+2+4
< 3+7+2+6
< 3+7+2+8
< 3+7+4+2
< 3+7+4+4
< 3+7+4+6
< 3+7+4+8
< 3+7+6+2
< 3+7+6+4
< 3+7+6+6
< 3+7+6+8
< 3+7+8+2
< 3+7+8+4
< 3+7+8+6
< 3+7+8+8
< 4+1+2+2
< 4+1+2+4
< 4+1+2+6
< 4+1+2+8
< 4+1+4+2
< 4+1+4+4
< 4+1+4+6
< 4+1+4+8
< 4+1+6+2
< 4+1+6+4
< 4+1+6+6
< 4+1+6+8
< 4+1+8+2
< 4+1+8+4
< 4+1+8+6
< 4+1+8+8
< 4+3+2+2
< 4+3+2+4
< 4+3+2+6
< 4+3+2+8
< 4+3+4+2
< 4+3+4+4
< 4+3+4+6
< 4+3+4+8
< 4+3+6+2
< 4+3+6+4
< 4+3+6+6
< 4+3+6+8
< 4+3+8+2
< 4+3+8+4
< 4+3+8+6
< 4+3+8+8
< 4+5+2+2
< 4+5+2+4
< 4+5+2+6
< 4+5+2+8
< 4+5+4+2
< 4+5+4+4
< 4+5+4+6
< 4+5+4+8
< 4+5+6+2
< 4+5+6+4
< 4+5+6+6
< 4+5+6+8
< 4+5+8+2
< 4+5+8+4
< 4+5+8+6
< 4+5+8+8
< 4+7+2+2
< 4+7+2+4
< 4+7+2+6
< 4+7+2+8
< 4+7+4+2
< 4+7+4+4
< 4+7+4+6
< 4+7+4+8
< 4+7+6+2
< 4+7+6+4
< 4+7+6+6
< 4+7+6+8
< 4+7+8+2
< 4+7+8+4
< 4+7+8+6
< 4+7+8+8
---
> 2+1+2+6=11
> 2+1+4+4=11
> 2+1+6+2=11
> 2+3+2+4=11
> 2+3+4+2=11
> 2+5+2+2=11
> 4+1+2+4=11
> 4+1+4+2=11
> 4+3+2+2=11

Solutions by @nickandbro:

Unlock 19 remaining solutions by signing in and submitting your own entry
Created by: @happylilmexican

117 active golfers, 408 entries

Solutions by @nickandbro:
27
#43 - nickGPT / @nickandbro

08/23/2024 at 07:02AM

27
#>43 - nickGPT / @nickandbro

08/26/2024 at 07:51PM

28
#>77 - nickGPT / @nickandbro

08/23/2024 at 07:02AM

29
#>89 - nickGPT / @nickandbro

08/23/2024 at 07:02AM

30
#>96 - nickGPT / @nickandbro

08/23/2024 at 07:01AM

31
#>101 - nickGPT / @nickandbro

08/23/2024 at 07:01AM

32
#>102 - nickGPT / @nickandbro

08/23/2024 at 07:00AM

34
#>104 - nickGPT / @nickandbro

08/23/2024 at 07:00AM

35
#>105 - nickGPT / @nickandbro

08/23/2024 at 07:00AM

38
#>107 - nickGPT / @nickandbro

08/23/2024 at 06:59AM

39
#>107 - nickGPT / @nickandbro

08/23/2024 at 06:59AM

82
#>109 - nickGPT / @nickandbro

08/23/2024 at 06:58AM

83
#>110 - nickGPT / @nickandbro

08/23/2024 at 06:58AM

86
#>112 - nickGPT / @nickandbro

08/23/2024 at 06:57AM

90
#>113 - nickGPT / @nickandbro

08/23/2024 at 06:57AM

93
#>114 - nickGPT / @nickandbro

08/23/2024 at 06:57AM

104
#>115 - nickGPT / @nickandbro

08/23/2024 at 04:09AM

106
#>116 - nickGPT / @nickandbro

08/23/2024 at 04:08AM

111
#>117 - nickGPT / @nickandbro

08/23/2024 at 04:08AM