tildebyte / ChucK-plugin-for-ST3

A Sublime Text 3 plugin for ChucK (http://chuck.cs.princeton.edu).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default keys - mine

zeffii opened this issue · comments

[
  { "keys": ["ctrl+shift+q"], "command": "ck_com_shell"  },  
  { "keys": ["ctrl+shift+w"], "command": "ck_wav_writer"  },  
  { "keys": ["ctrl+shift+]"], "command": "chuck_doc_search"  },
  { "keys": ["ctrl+shift+["], "command": "iternotate" },
  {
    "keys": ["ctrl+shift+enter"], "command": "build",
    "args": {"variant": "Init"}
  },
  { "keys": ["ctrl+shift+o"], "command": "chuck_opener" }
]

that's nice work tildebyte! my config is like so
ctrl+enter for a standalone .ck
ctrl+shift+enter for initialize.ck in this path
ctrl+backspace to kill either of these.

that's pretty exciting :)

ck_com_shell doesnt really work yet..

Nice. Those keys for managing the VM are good defaults (I don't use CTRL+BKSPACE (delete prev. word) much, but it's on the list for me to train myself to use :) ).

I'm going to remove the theoretical, non-working keybinds for now, and change the following:
{
"keys": ["ctrl+enter"], "command": "build",
},
{
"keys": ["ctrl+alt+enter"], "command": "build",
"args": {"variant": "Kill"}
},
{
"keys": ["ctrl+shift+enter"], "command": "build",
"args": {"variant": "Init"}
}

I'd really like to impact default ST as little as possible, and given that BKSPC is used for back-deleting, and we've already taken ENTER for Run and Init, it seems like a better idea to default to CTRL+ALT+ENTER for Kill.
As always, I'm open to suggestions.

you are free to use whatever.. i'll use as stated,