Experimenting with frames-only-mode, disabled popwin

This commit is contained in:
Adam Goldsmith 2018-03-15 01:18:38 -04:00
parent 8be0ba84be
commit 1ba60e99e3

View File

@ -357,6 +357,7 @@
:bind ("C-x g" . magit-status))
(use-package popwin :ensure
:disabled
:config
(popwin-mode 1)
(delete 'help-mode popwin:special-display-config)
@ -395,6 +396,22 @@
(setq immortal-scratch-switch-to-respawned-scratch t)
(immortal-scratch-mode t))
(use-package frames-only-mode :ensure
:config
(frames-only-mode t)
(defun split-window-below-i3 ()
"It's like `split-window-below', but uses i3 stuff"
(interactive)
(call-process "i3" nil nil nil "split v")
(make-frame))
(defun split-window-right-i3 ()
"It's like `split-window-below', but uses i3 stuff"
(interactive)
(call-process "i3" nil nil nil "split h")
(make-frame))
(bind-key "C-x 2" 'split-window-below-i3)
(bind-key "C-x 3" 'split-window-right-i3))
;;;; optional external packages
(use-package arduino-mode
:mode "\\.pde\\'"