Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to tee up Kakoune for a play attempt #27

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*/test
*/vgscore
*/.cmd.*
*/.try.*
1 change: 1 addition & 0 deletions 4d1a71b5b8cb340932000109/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fSfycAdds<space>"a"<space>to<space>"b<esc>,q
3 changes: 3 additions & 0 deletions 4d1a71b5b8cb340932000109/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def add(a, b):
""" Subtracts "x" from "y" """
return a + b
3 changes: 3 additions & 0 deletions 4d1a71b5b8cb340932000109/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def add(a, b):
""" Adds "a" to "b" """
return a + b
1 change: 1 addition & 0 deletions 4d1a790fb8cb3409320001a8/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
xd9Ci<c-r>#.<space><esc>le`l<a-l>d,q
11 changes: 11 additions & 0 deletions 4d1a790fb8cb3409320001a8/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Surname Approx Number % Frequency Rank
SMITH 2,501,922 1.006 1
JOHNSON 2,014,470 0.81 2
WILLIAMS 1,738,413 0.699 3
JONES 1,544,427 0.621 4
BROWN 1,544,427 0.621 5
DAVIS 1,193,760 0.48 6
MILLER 1,054,488 0.424 7
WILSON 843,093 0.339 8
MOORE 775,944 0.312 9
TAYLOR 773,457 0.311 10
10 changes: 10 additions & 0 deletions 4d1a790fb8cb3409320001a8/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
1. Smith
2. Johnson
3. Williams
4. Jones
5. Brown
6. Davis
7. Miller
8. Wilson
9. Moore
10. Taylor
1 change: 1 addition & 0 deletions 4d1a8bf2b8cb3409320002c4/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
%sa$<ret><a-x><a-S>ix<esc>,q
20 changes: 20 additions & 0 deletions 4d1a8bf2b8cb3409320002c4/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
aaa
aab
abb
bbb
aaa
aab
abb
bbb
aaa
aab
abb
bbb
aaa
aab
abb
bbb
aaa
aab
abb
bbb
20 changes: 20 additions & 0 deletions 4d1a8bf2b8cb3409320002c4/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
xaaax
aab
abb
bbb
xaaax
aab
abb
bbb
xaaax
aab
abb
bbb
xaaax
aab
abb
bbb
xaaax
aab
abb
bbb
1 change: 1 addition & 0 deletions 4d1aaf2fb11838287d000036/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a-l>|rev<ret>,q
1 change: 1 addition & 0 deletions 4d1aaf2fb11838287d000036/in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
abcdefghijklmnopqrstuvwxyz
1 change: 1 addition & 0 deletions 4d1aaf2fb11838287d000036/out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zyxwvutsrqponmlkjihgfedcba
2 changes: 1 addition & 1 deletion 4d1ac1800a045132c0000011/cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
wa<space><esc>xa<ret><esc>f).l.f;.f;>.,q
<a-o>wa<space><esc>f)a<ret><esc>l.f;.<a-.><gt>.,q
1 change: 1 addition & 0 deletions 4d1b1b97c58eaa2a8a0002fc/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4jGed4hriOfor<space>i<space>in<space>range(0,<space>len(a)):<right><space><space><esc>,q
15 changes: 15 additions & 0 deletions 4d1b1b97c58eaa2a8a0002fc/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/python
import sys
a = "Hello World!"
sys.stdout.write(str(a[0]))
sys.stdout.write(str(a[1]))
sys.stdout.write(str(a[2]))
sys.stdout.write(str(a[3]))
sys.stdout.write(str(a[4]))
sys.stdout.write(str(a[5]))
sys.stdout.write(str(a[6]))
sys.stdout.write(str(a[7]))
sys.stdout.write(str(a[8]))
sys.stdout.write(str(a[9]))
sys.stdout.write(str(a[10]))
sys.stdout.write(str(a[11]))
5 changes: 5 additions & 0 deletions 4d1b1b97c58eaa2a8a0002fc/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/python
import sys
a = "Hello World!"
for i in range(0, len(a)):
sys.stdout.write(str(a[i]))
1 change: 1 addition & 0 deletions 4d1b4ac3c58eaa2a8a0005c2/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<a-/>I<ret><a-N>bc<space>then<space><esc>,q
15 changes: 15 additions & 0 deletions 4d1b4ac3c58eaa2a8a0005c2/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env ruby

class Klass
ITEMS = {
foo: ["bar", "baz"],
lorem: "ipsum",
}

def initialize(args)
@item = case args.first
when :foo, :bar: ITEMS[:foo][1]
when :lorem : ITEMS[:lorem]
end
end
end
15 changes: 15 additions & 0 deletions 4d1b4ac3c58eaa2a8a0005c2/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env ruby

class Klass
ITEMS = {
foo: ["bar", "baz"],
lorem: "ipsum",
}

def initialize(args)
@item = case args.first
when :foo, :bar then ITEMS[:foo][1]
when :lorem then ITEMS[:lorem]
end
end
end
1 change: 1 addition & 0 deletions 4d1cdb0635b40650b8000527/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Qxyp_Cr*<space>PQ3jq,q
5 changes: 5 additions & 0 deletions 4d1cdb0635b40650b8000527/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Make this a fancy header
This is some text under the fancy header.

This is another fancy header
This is some more text
9 changes: 9 additions & 0 deletions 4d1cdb0635b40650b8000527/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
************************
Make this a fancy header
************************
This is some text under the fancy header.

****************************
This is another fancy header
****************************
This is some more text
1 change: 1 addition & 0 deletions 4d1db1b8de2f897c2a00014a/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fys.<ret>a<ret><esc>,q
1 change: 1 addition & 0 deletions 4d1db1b8de2f897c2a00014a/in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
abcdefghijklmnopqrstuvwxyz
26 changes: 26 additions & 0 deletions 4d1db1b8de2f897c2a00014a/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
1 change: 1 addition & 0 deletions 4d1e29fda93ce03311000066/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
%s:<ret>dwER,q
5 changes: 5 additions & 0 deletions 4d1e29fda93ce03311000066/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
:a => 1,
:b => 2,
:c => 3
}
5 changes: 5 additions & 0 deletions 4d1e29fda93ce03311000066/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
a: 1,
b: 2,
c: 3
}
1 change: 1 addition & 0 deletions 4d1e634e509d6e19d8000081/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Jdf<space>yf#2tpR,q
7 changes: 7 additions & 0 deletions 4d1e634e509d6e19d8000081/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/ruby

#!/usr/bin/env ruby

#!/usr/local/bin/python

#!/usr/python
3 changes: 3 additions & 0 deletions 4d1e634e509d6e19d8000081/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env ruby

#!/usr/bin/env python
1 change: 1 addition & 0 deletions 4d2c9d06eda6262e4e00007a/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
%s=<ret>&,q
11 changes: 11 additions & 0 deletions 4d2c9d06eda6262e4e00007a/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Align these assignments

x = 1
y = true
z = 'you'
foo = 'bar'
long_name = "long variable value"
$p3cial = ch4rs
last = line

# Much better!
11 changes: 11 additions & 0 deletions 4d2c9d06eda6262e4e00007a/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Align these assignments

x = 1
y = true
z = 'you'
foo = 'bar'
long_name = "long variable value"
$p3cial = ch4rs
last = line

# Much better!
1 change: 1 addition & 0 deletions 4d4ab047795d626036000034/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Q3Wy<a-l>s,<ret>r<ret>lRQ5gq,q
2 changes: 2 additions & 0 deletions 4d4ab047795d626036000034/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from random import randint, uniform, shuffle, sample
from math import ceil, pow
6 changes: 6 additions & 0 deletions 4d4ab047795d626036000034/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from random import randint
from random import uniform
from random import shuffle
from random import sample
from math import ceil
from math import pow
1 change: 1 addition & 0 deletions 4d716c76919202611400002b/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7Ci<c-r>#.<space><esc>,q
8 changes: 8 additions & 0 deletions 4d716c76919202611400002b/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
line one
line two
line three
line four
line five
line six
line seven
line eight
8 changes: 8 additions & 0 deletions 4d716c76919202611400002b/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
1. line one
2. line two
3. line three
4. line four
5. line five
6. line six
7. line seven
8. line eight
1 change: 1 addition & 0 deletions 4dcd7b572c8e510001000005/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9C<a-x>d9CPhr<tab>,q
20 changes: 20 additions & 0 deletions 4dcd7b572c8e510001000005/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
one
two
three
four
five
six
seven
eight
nine
ten
1
2
3
4
5
6
7
8
9
10
10 changes: 10 additions & 0 deletions 4dcd7b572c8e510001000005/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
one 1
two 2
three 3
four 4
five 5
six 6
seven 7
eight 8
nine 9
ten 10
1 change: 1 addition & 0 deletions 4e9edef5cef4c50001000007/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ms\w+<ret>y%<a-d><a-P>i<ret>*|<end>|*<esc>ggd,q
5 changes: 5 additions & 0 deletions 4e9edef5cef4c50001000007/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$allowed = array("PIN", "Prefix", "LastName", "FirstName", "MiddleName",
"Address1", "Address2", "City", "State", "Zip", "Country", "phone", "mobile",
"Email", "MothersMaiden", "security1_id", "security1_answer",
"security2_id", "security2_answer", "BirthDate",
"flag1", "DriversLicense", "gender");
23 changes: 23 additions & 0 deletions 4e9edef5cef4c50001000007/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
*|PIN|*
*|Prefix|*
*|LastName|*
*|FirstName|*
*|MiddleName|*
*|Address1|*
*|Address2|*
*|City|*
*|State|*
*|Zip|*
*|Country|*
*|phone|*
*|mobile|*
*|Email|*
*|MothersMaiden|*
*|security1_id|*
*|security1_answer|*
*|security2_id|*
*|security2_answer|*
*|BirthDate|*
*|flag1|*
*|DriversLicense|*
*|gender|*
1 change: 1 addition & 0 deletions 4f438739f5a8d70001000019/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eyf.fj14CRi/java<esc>,q
15 changes: 15 additions & 0 deletions 4f438739f5a8d70001000019/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script src="../assets/js/jquery.js"></script>
<script src="../assets/js/bootstrap-transition.js"></script>
<script src="../assets/js/bootstrap-alert.js"></script>
<script src="../assets/js/bootstrap-modal.js"></script>
<script src="../assets/js/bootstrap-dropdown.js"></script>

<script src="../assets/js/bootstrap-scrollspy.js"></script>
<script src="../assets/js/bootstrap-tab.js"></script>
<script src="../assets/js/bootstrap-tooltip.js"></script>
<script src="../assets/js/bootstrap-popover.js"></script>
<script src="../assets/js/bootstrap-button.js"></script>
<script src="../assets/js/bootstrap-collapse.js"></script>

<script src="../assets/js/bootstrap-carousel.js"></script>
<script src="../assets/js/bootstrap-typeahead.js"></script>
15 changes: 15 additions & 0 deletions 4f438739f5a8d70001000019/out
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<script src="/javascripts/jquery.js"></script>
<script src="/javascripts/bootstrap-transition.js"></script>
<script src="/javascripts/bootstrap-alert.js"></script>
<script src="/javascripts/bootstrap-modal.js"></script>
<script src="/javascripts/bootstrap-dropdown.js"></script>

<script src="/javascripts/bootstrap-scrollspy.js"></script>
<script src="/javascripts/bootstrap-tab.js"></script>
<script src="/javascripts/bootstrap-tooltip.js"></script>
<script src="/javascripts/bootstrap-popover.js"></script>
<script src="/javascripts/bootstrap-button.js"></script>
<script src="/javascripts/bootstrap-collapse.js"></script>

<script src="/javascripts/bootstrap-carousel.js"></script>
<script src="/javascripts/bootstrap-typeahead.js"></script>
1 change: 1 addition & 0 deletions 4fc9d767d3a0d4000100000e/cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
%sa<ret><a-l>a;<esc>,q
7 changes: 7 additions & 0 deletions 4fc9d767d3a0d4000100000e/in
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
var foo

var bar = myCoolStuff()

callRemote()

foo = callTheWorld()
Loading