File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222; ;
2323; ; This program is derived from comint-mode and provides the following features.
2424; ;
25- ; ; * TAB completion same as Node.js REPL
25+ ; ; * token completion, same as Node.js REPL
2626; ; * file name completion in string
2727; ; * incremental history search
28+ ; ; * sending JavaScript codes to REPL
2829; ;
2930; ;
3031; ; Put this file in your Emacs lisp path (e.g. ~/.emacs.d/site-lisp)
4041; ; (add-hook 'js-mode-hook
4142; ; (lambda ()
4243; ; (define-key js-mode-map (kbd "C-x C-e") 'nodejs-repl-send-last-expression)
44+ ; ; (define-key js-mode-map (kbd "C-c C-j") 'nodejs-repl-send-line)
4345; ; (define-key js-mode-map (kbd "C-c C-r") 'nodejs-repl-send-region)
4446; ; (define-key js-mode-map (kbd "C-c C-l") 'nodejs-repl-load-file)
4547; ; (define-key js-mode-map (kbd "C-c C-z") 'nodejs-repl-switch-to-repl)))
You can’t perform that action at this time.
0 commit comments