https://github.com/reactormonk/kwin-minor-mode.git
git clone 'git://github.com/reactormonk/kwin-minor-mode.git'
A minor mode to communicate with KWin. Type M-x kwin-minor-mode to
attach it to your javascript buffer. I don't recommend binding it to
javascript-mode by default, as this mode is very specific.
Bindings:
C-c C-r to send a regionC-c C-l to send the whole bufferC-c C-k to kill all scripts, or a specific one given by prefix.All output is redirected to the Inf-KWin buffer.
If you want to overwrite bindings created with registerShortcut, you
have to stop the script creating them first. Use kwin-kill-script to
stop all of them.