From: Amin Bandali Date: Sat, 1 Sep 2018 06:38:17 +0000 (-0400) Subject: [emacs] remove shackle X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/da54899382c58548e0c4ca94fb87d24faad60e6e?ds=sidebyside;hp=67ed6b690c1463505434a2002d315a6b32618e92 [emacs] remove shackle most packages that i use have fairly sane defaults. also, shackles messes with magit popups a bit, and fixing it would require writing custom functions, which i'm not down to do at the moment. basically, the costs way outweight the benefits right now. i might add it again some day though :) --- diff --git a/.gitmodules b/.gitmodules index 01bfe48..a49345f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -178,9 +178,6 @@ [submodule "s"] path = lib/s url = git@github.com:magnars/s.el.git -[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 diff --git a/init.org b/init.org index 5dacc59..9cb58ac 100644 --- a/init.org +++ b/init.org @@ -1249,25 +1249,6 @@ Emacs package that displays available keybindings in popup :after #'my-projectile-invalidate-cache)))) #+end_src -** [[https://github.com/wasamasa/shackle][shackle]] - -#+begin_src emacs-lisp -(use-package shackle - :demand t - :commands shackle-mode - :config - (shackle-mode 1) - (setq shackle-rules - '(("*Help*" :align right :select t :size 0.5) - ("\\`\\*helm.*?\\*\\'" :regexp t :align t) - ((compilation-mode "\\`\\*magit-diff: .*?\\'") :regexp t :noselect t) - ("*magit-dispatch-popup*" :align below) - ((inferior-scheme-mode "*shell*" "*eshell*") :popup t)) - shackle-default-rule '(:select t) - shackle-default-size 0.4 - shackle-inhibit-window-quit-on-same-windows t)) -#+end_src - ** [[https://github.com/Wilfred/helpful][helpful]] #+begin_src emacs-lisp @@ -1285,8 +1266,6 @@ Emacs package that displays available keybindings in popup #+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))))) diff --git a/lib/shackle b/lib/shackle deleted file mode 160000 index 4189c1c..0000000 --- a/lib/shackle +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4189c1c773aab533969b587f7801ffbcd1d7d613