Key binding to run some command in REPL

I am using Atom for Julia programming (using Juno)

I have a REPL from Atom that interact with Julia program

Is there a way in Atom that I can custom a Keybinding (say Ctrl+Alt+Shift+R) then it will just run a command in REPL (e.g. sum( [1, 2, 3, 4, 5], or run a external Julia/Python script) ?

Thank you

process-palette package can accept custom commands to be listed as a library of custom commands under command-palette. There is no need for complex keybindings (there are already far too many).