Hi, so far proto-repl seems to be pretty good 🙂 I’m trying to change the default keybindings to my own custom ones. I modified the keymap.cson
to contain
'proto-repl':
‘cmd-e’:'proto-repl:execute-block'
I also disabled the keybindings configuration in the proto-repl settings. But somehow my keybinding doesn’t work.Does somebody has an idea why’s that? 🙂
ah epic found it, it needs to be in the
‘atom-text-editor’:
'cmd-e':'proto-repl:execute-block'
blockI could have just looked here https://github.com/jasongilman/proto-repl/blob/master/keymaps/proto-repl.cson ^^
Do you think the rules for block evaluation should be modified to grab a @ if it is prepended to the block?
@basti you can check this repo for custom conf, @seancorfield knows all the cool keybindings 😄 https://github.com/seancorfield/proto-repl-setup
sweet I give it a go ^^
@bcbradley: yes I think it should. This is also an issue with sets and anonymous functions. It should detect the # at the beginning and include that.
@jasongilman the left parenthesis is not a legal character for symbols, numbers or values of any other kind, so by default you should just pull any char prependend to ( in a block evaluation
In other words the char has to be a reader macro