diff options
| author | Teddy Wing | 2018-08-08 02:08:32 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-08-08 02:08:32 +0200 |
| commit | 943a8d32456380f8e3281efcfb67a4c5ad9e23b2 (patch) | |
| tree | 639ceea8a2b0810d5db9b35dc366c71bcff80259 /example.dkmap | |
| download | dome-key-map-943a8d32456380f8e3281efcfb67a4c5ad9e23b2.tar.bz2 | |
Ideas for a mapping config file syntax
Ideas for what I want the mapping syntax to look like. Resembles Vim
mappings.
Diffstat (limited to 'example.dkmap')
| -rw-r--r-- | example.dkmap | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/example.dkmap b/example.dkmap new file mode 100644 index 0000000..800ed07 --- /dev/null +++ b/example.dkmap @@ -0,0 +1,11 @@ +# Comment +map <up><play><down> abc<C-A-D-S-a>fhello<enter> +cmd <down> /usr/bin/say 'hello' + +mode <play><down> { + cmd <up><play><down> echo 'test' | pbcopy + map <play><down> # <- Error cannot shadow mode deactivation map +} + +# Left are headphone buttons +# Right are keyboard keys or a shell command |
