Add a way to start an EIN Jupyter server from Spacemacs's UI
This commit is contained in:
parent
1bd3777006
commit
ef1cecce01
|
@ -1795,6 +1795,8 @@ Other:
|
||||||
- ~<C-return>~ (execute cell) and ~<S-return>~ (execute cell and go to next)
|
- ~<C-return>~ (execute cell) and ~<S-return>~ (execute cell and go to next)
|
||||||
also in hybrid mode (thanks to Jaakko Luttinen)
|
also in hybrid mode (thanks to Jaakko Luttinen)
|
||||||
- Remove spurious key binding (thanks to Carlos Andrés Rocha)
|
- Remove spurious key binding (thanks to Carlos Andrés Rocha)
|
||||||
|
- Added ~SPC a y r~ =ein:run= (thanks to Zach Pearson)
|
||||||
|
- Added ~SPC a y s~ =ein:stop= (thanks to Zach Pearson)
|
||||||
**** Ivy
|
**** Ivy
|
||||||
- Added =recentf= alt actions to refresh and delete items (thanks to Rich Alesi)
|
- Added =recentf= alt actions to refresh and delete items (thanks to Rich Alesi)
|
||||||
- Added =projectile= alternate actions to invalidate cache (thanks to Rich Alesi)
|
- Added =projectile= alternate actions to invalidate cache (thanks to Rich Alesi)
|
||||||
|
|
|
@ -69,7 +69,8 @@ Have an IPython notebook running
|
||||||
* Using the IPython notebook
|
* Using the IPython notebook
|
||||||
** Open Notebook List
|
** Open Notebook List
|
||||||
This layer is lazy loaded so the transient-state will only work after you summon the
|
This layer is lazy loaded so the transient-state will only work after you summon the
|
||||||
command =ein:notebooklist-open= which is bound to ~SPC a y o~
|
command =ein:notebooklist-open= which is bound to ~SPC a y o~ or =ein:run= which is
|
||||||
|
bound to ~SPC a y r~.
|
||||||
|
|
||||||
** Key bindings
|
** Key bindings
|
||||||
The key bindings can be used through a transient state or the usual evil-leader.
|
The key bindings can be used through a transient state or the usual evil-leader.
|
||||||
|
|
|
@ -24,12 +24,14 @@
|
||||||
(defun ipython-notebook/init-ein ()
|
(defun ipython-notebook/init-ein ()
|
||||||
(use-package ein
|
(use-package ein
|
||||||
:defer t
|
:defer t
|
||||||
:commands (ein:notebooklist-open ein:notebooklist-login)
|
:commands (ein:notebooklist-open ein:notebooklist-login ein:run ein:stop)
|
||||||
:init
|
:init
|
||||||
(progn
|
(progn
|
||||||
(spacemacs/set-leader-keys
|
(spacemacs/set-leader-keys
|
||||||
"ayl" 'ein:notebooklist-login
|
"ayl" 'ein:notebooklist-login
|
||||||
"ayo" 'ein:notebooklist-open)
|
"ayo" 'ein:notebooklist-open
|
||||||
|
"ayr" 'ein:run
|
||||||
|
"ays" 'ein:stop)
|
||||||
(spacemacs/declare-prefix "ay" "ipython notebook")
|
(spacemacs/declare-prefix "ay" "ipython notebook")
|
||||||
(with-eval-after-load 'ein-notebooklist
|
(with-eval-after-load 'ein-notebooklist
|
||||||
(evilified-state-evilify-map ein:notebooklist-mode-map
|
(evilified-state-evilify-map ein:notebooklist-mode-map
|
||||||
|
|
Loading…
Reference in a new issue