doomemacs/modules/tools/ein
Henrik Lissner 1e81a35461
Minimize dependence on map!
This is in preparation for general.el integration coming in 2.1.1. It is
very likely that map! will change (and even more, be split into several
macros). Not much, but change none-the-less. Specifically, the state
keywords (e.g. :nvi, :n, :i) will be removed in favor of a :state
property that takes a list, e.g. (normal visual insert).

In any case, both map! and general are also relatively expensive
compared to define-key and evil-define-key* (and the new define-key!
macro), so use that when we can.

This also means changes to either API won't affect Doom's modules in the
long term.
2018-06-03 15:46:00 +02:00
..
autoload.el Major refactor & optimization of how modules load their packages 2018-05-25 00:46:16 +02:00
config.el Minimize dependence on map! 2018-06-03 15:46:00 +02:00
packages.el EIN module to work with Jupyter notebooks 2018-04-11 12:34:08 +02:00
README.org EIN module to work with Jupyter notebooks 2018-04-11 12:34:08 +02:00

:tools ein

EIN Emacs IPython Notebook

Tool to work with Jupyter notebooks within emacs.

Install

Add :tool ein to your doom! call in your private init.el.

Usage

Three functions are available to start EIN:

  1. ein:jupyter-server-start — Start a jupyter server within emacs
  2. ein:notebooklist-login — Login to an existing jupyter server
  3. ein:notebooklist-open — Open the list of jupyter notebooks

These functions do not have default key bindings.

When ein:jupyter-server-start is called, after successfully finishing, ein:notebooklist-login and ein:notebooklist-open will be automatically called.

When in the Notebook List buffer, the key o calls ace-link to speed up the process of selecting links in the buffer.

If company-mode is enabled as a module, company-ein will be used for completion purposes.

Configuration

Specify the default directory where EIN searches for notebooks using:

(set! :ein-notebook-dir "~/my-notebooks")