Added example of how to activate +ein-hydra
This commit is contained in:
parent
35a1038ee9
commit
65447390c3
1 changed files with 14 additions and 0 deletions
|
@ -51,3 +51,17 @@ Change ~+ein-notebook-dir~ to tell ein where to find your Jupityr notebooks.
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(setq +ein-notebook-dir "~/my-notebooks")
|
||||
#+END_SRC
|
||||
|
||||
** Using hydra
|
||||
This module provides a batteries-included hydra - ~+ein-hydra~ - to make using ein
|
||||
easier. Things like navigating between cells, workbook management etc, are greatly
|
||||
simplified and are easily accessible. However, by default, it's not bound to any key.
|
||||
Here's an example of how to bind it:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(map!
|
||||
(:map ein:notebook-mode-map
|
||||
:localleader
|
||||
:map ein:notebook-mode-map "," #'+ein-hydra/body))
|
||||
#+END_SRC
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue