Skip to content

Instantly share code, notes, and snippets.

@dtinth
Last active January 5, 2016 10:18
Show Gist options
  • Save dtinth/2280a04fbdebad74dfe2 to your computer and use it in GitHub Desktop.
Save dtinth/2280a04fbdebad74dfe2 to your computer and use it in GitHub Desktop.
My atom-arpeggio chord definition (for JavaScript on Colemak layout)
arpeggio:
chords:
# JavaScript
var: "var "
let: "let "
ret: "return "
thr: "throw "
new: "new "
imp: "import "
tru: "true"
fal: "false"
req:
snippet: "require('$1')"
mex: "module.exports"
fun: "function"
cno:
snippet: "console.log($1)"
"{}":
snippet: '''
{
$1
}
'''
# English
and: "and "
ben: "been "
can: "can "
for: "for "
hav: "have "
has: "has "
tha: "that "
THA: "That "
the: "the "
THE: "The "
THER: "There "
ther: "there "
thi: "this"
THI: "This "
very: "very "
wit: "with "
whe: "when "
you: "you "
# Unicode
akw: "川"
kuc: "口"
del: "∆"
ipr: "ʹ"
# Documentation
key:
snippet: "<kbd>$1</kbd>$2"
timeout: 16
# Quick Delete
sr:
command: "editor:delete-to-beginning-of-word"
timeout: 16
ei:
command: "editor:delete-to-beginning-of-word"
timeout: 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment