         ("+" ein:notebook-worksheet-insert-next)
         ("-" ein:notebook-worksheet-delete)
         ("x" ein:notebook-close))
-      (spacemacs/set-leader-keys "ein" ))))
+      (spacemacs/set-leader-keys "ein" 'spacemacs/ipython-notebook-transient-state/body))))


      (spacemacs|define-transient-state ipython-notebook
        :title "iPython Notebook Transient State"
        :doc (concat (spacemacs//ipython-notebook-ms-doc))
        :bindings
        ("q" nil :exit t)
        ("?" spacemacs//ipython-notebook-ms-toggle-doc)

        (interactive)
        (ein:worksheet-merge-cell (ein:worksheet--get-ws-or-error) (ein:worksheet-get-current-cell) t t))

      (defun spacemacs//concat-leader (key)
        (if dotspacemacs-major-mode-leader-key
            (concat dotspacemacs-major-mode-leader-key key)
            (concat "," key)))

      (spacemacs/set-leader-keys-for-major-mode 'ein:notebook-multilang-mode
        "y" 'ein:worksheet-copy-cell
