Move shackle configuration to emacs-config

This commit is contained in:
Tom Willemse 2019-02-19 01:04:27 -08:00
parent fa7536a85d
commit d4d5e59dfc
2 changed files with 0 additions and 40 deletions

View file

@ -52,7 +52,6 @@
(require 'diminish) (require 'diminish)
(require 'ivy) (require 'ivy)
(require 'ivy-hydra) (require 'ivy-hydra)
(require 'shackle)
;;;; Settings ;;;; Settings
@ -142,8 +141,6 @@
(add-hook 'minibuffer-setup-hook 'electric-pair-local-mode) (add-hook 'minibuffer-setup-hook 'electric-pair-local-mode)
(shackle-mode)
(with-eval-after-load 'shr (load "oni-shr-init")) (with-eval-after-load 'shr (load "oni-shr-init"))
(with-eval-after-load 'paredit (with-eval-after-load 'paredit
@ -185,7 +182,6 @@
(with-eval-after-load 'ruby-mode (load "oni-ruby-init")) (with-eval-after-load 'ruby-mode (load "oni-ruby-init"))
(with-eval-after-load 'scheme (load "oni-scheme-init")) (with-eval-after-load 'scheme (load "oni-scheme-init"))
(with-eval-after-load 'sh-mode (load "oni-sh-mode-init")) (with-eval-after-load 'sh-mode (load "oni-sh-mode-init"))
(with-eval-after-load 'shackle (load "oni-shackle-init"))
(with-eval-after-load 'slime (load "oni-slime-init")) (with-eval-after-load 'slime (load "oni-slime-init"))
(with-eval-after-load 'yasnippet (load "oni-yasnippet-init")) (with-eval-after-load 'yasnippet (load "oni-yasnippet-init"))
(with-eval-after-load 'rust-mode (load "oni-rust-init")) (with-eval-after-load 'rust-mode (load "oni-rust-init"))

View file

@ -1,36 +0,0 @@
;;; oni-shackle-init.el --- Shackle configuration -*- lexical-binding: t; -*-
;; Copyright (C) 2018 Tom Willemse
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; My configuration for shackle.
;;; Code:
(require 'shackle)
(setq shackle-rules
'((compilation-mode :align 'below :size 0.33)
(prodigy-mode :align 'below :size 0.33)
(help-mode :select t)
(magit-status-mode :same t)))
(provide 'oni-shackle-init)
;;; oni-shackle-init.el ends here