I am unable to change keybinding in a minor mode.
Initiaton of minor mode:
(add-hook 'julia-mode-hook 'julia-repl-mode)
I tried a view variatons for the keybinding:
(add-hook 'julia-repl-mode (lambda () (define-key map [C-shift-return] 'julia-repl-send-line) (define-key map [C-return] 'julia-repl-send-region-or-line)))
(eval-after-load 'julia-repl '(define-key julia-repl-map [C-return] 'julia-repl-send-region-or-line))
But finally without result. I want to bind the command
I was at least able to change it interactively with
M-x local-set-key. But I would like to define it in the init file.
What am I missing?