[emacs] assimilate shell-pop
authorAmin Bandali <amin@gnu.org>
Thu, 30 Aug 2018 03:02:42 +0000 (23:02 -0400)
committerAmin Bandali <amin@gnu.org>
Thu, 30 Aug 2018 03:02:42 +0000 (23:02 -0400)
.gitmodules
init.org
lib/shell-pop [new submodule]

index 6a2f4a9..a4082c6 100644 (file)
 [submodule "shackle"]
        path = lib/shackle
        url = git@github.com:wasamasa/shackle.git
+[submodule "shell-pop"]
+       path = lib/shell-pop
+       url = git@github.com:kyagi/shell-pop-el.git
 [submodule "shrink-path"]
        path = lib/shrink-path
        url = git@gitlab.com:bennya/shrink-path.el.git
index 56e7752..058401a 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1208,6 +1208,17 @@ Emacs package that displays available keybindings in popup
    ("C-h C"   . helpful-command)))
 #+end_src
 
+** [[https://github.com/kyagi/shell-pop-el][shell-pop]]
+
+#+begin_src emacs-lisp
+(use-package shell-pop
+  :config
+  (add-to-list 'shackle-rules '("\\*eshell\\*" :regexp t :same t))
+  :custom
+  (shell-pop-universal-key "C-c e")
+  (shell-pop-shell-type '("eshell" "*eshell*" (lambda nil (eshell)))))
+#+end_src
+
 * Email
 ** [[https://notmuchmail.org][notmuch]]
 
diff --git a/lib/shell-pop b/lib/shell-pop
new file mode 160000 (submodule)
index 0000000..4a3a9d0
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 4a3a9d093ad1add792bba764c601aa28de302b34