/nodejs-mode

Run Node.js REPL and communicate the process

Primary LanguageEmacs Lisp

nodejs-mode.el --- Run Node.js REPL and communicate the process

Copyright (C) 2012  Takeshi Arabiki

Author: Takeshi Arabiki <takeshi.arabiki@gmail.com>
Version: See `nodejs-version'

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.

Commentary:

  Run Node.js REPL and communicate the process.
  This program is derived from comint-mode and provides the below features.

   * token completion, same as Node.js REPL
   * file name completion in string
   * incremental history search

  Put this file in your Emacs lisp path (e.g. ~/.emacs.d/site-lisp)
  and add to the following lines to your .emacs:

     (require 'nodejs-mode)

  In order to run Node.js REPL, type M-x nodejs.
  See also `comint-mode' to check key bindings, typing M-x help f comint-mode.