Skip to content

Commit

Permalink
Merge pull request #36 from wailo/patch-1
Browse files Browse the repository at this point in the history
Added key binding for send-buffer command
  • Loading branch information
abicky authored Aug 2, 2020
2 parents 6fad7d7 + 4693d59 commit 3b84105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ You can define key bindings to send JavaScript codes to REPL like below:
(define-key js-mode-map (kbd "C-x C-e") 'nodejs-repl-send-last-expression)
(define-key js-mode-map (kbd "C-c C-j") 'nodejs-repl-send-line)
(define-key js-mode-map (kbd "C-c C-r") 'nodejs-repl-send-region)
(define-key js-mode-map (kbd "C-c C-c") 'nodejs-repl-send-buffer)
(define-key js-mode-map (kbd "C-c C-l") 'nodejs-repl-load-file)
(define-key js-mode-map (kbd "C-c C-z") 'nodejs-repl-switch-to-repl)))
```
Expand Down
1 change: 1 addition & 0 deletions nodejs-repl.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
;; (define-key js-mode-map (kbd "C-x C-e") 'nodejs-repl-send-last-expression)
;; (define-key js-mode-map (kbd "C-c C-j") 'nodejs-repl-send-line)
;; (define-key js-mode-map (kbd "C-c C-r") 'nodejs-repl-send-region)
;; (define-key js-mode-map (kbd "C-c C-c") 'nodejs-repl-send-buffer)
;; (define-key js-mode-map (kbd "C-c C-l") 'nodejs-repl-load-file)
;; (define-key js-mode-map (kbd "C-c C-z") 'nodejs-repl-switch-to-repl)))
;;
Expand Down

0 comments on commit 3b84105

Please sign in to comment.