Browse Source

Bind C-<up> and C-<down> to also navigate on history.

Most repls use these binds to navigate back and forward
on input history.
workspaces
Bruno Dias 3 years ago
parent
commit
7cf73a6d53
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      indium-repl.el

+ 2
- 0
indium-repl.el View File

@ -400,6 +400,8 @@ Evaluate CALLBACK with the completion candidates."
(define-key map (kbd "C-c C-q") #'indium-quit)
(define-key map (kbd "M-p") #'indium-repl-previous-input)
(define-key map (kbd "M-n") #'indium-repl-next-input)
(define-key map (kbd "C-<up>") #'indium-repl-previous-input)
(define-key map (kbd "C-<down>") #'indium-repl-next-input)
(easy-menu-define indium-repl-mode-menu map
"Menu for Indium REPL"
'("Indium REPL"


Loading…
Cancel
Save