chore(emacs.d): Remove edwina configuration

Sounds good, doesn't work.

(Okay, it does - but not like I want it to and with too many caveats
at the moment - maybe later)
This commit is contained in:
Vincent Ambo 2020-01-05 01:13:00 +00:00
parent 85ee07457c
commit b2cd30bfd4
3 changed files with 0 additions and 33 deletions

View file

@ -210,11 +210,4 @@
(exwm-input-set-key (kbd "s-m h") #'randr-layout-hdmi1-extend)
(exwm-input-set-key (kbd "s-m s") #'randr-layout-single)
;; Use edwina for window management shortcuts
;;
;; Its initialisation process is oddly stateful, hence configuration
;; happens here before toggling its minor mode.
(setq edwina-keymap-prefix (kbd "s-w"))
(edwina-mode 1)
(provide 'desktop)

View file

@ -49,31 +49,6 @@
:after (notmuch telega)
:config (dottime-display-mode t))
(use-package edwina
:after (ace-window ivy)
:init
(defun edwina-split-to-buffer ()
(interactive)
(ivy-read "Switch to buffer: " #'internal-complete-buffer
:keymap ivy-switch-buffer-map
:preselect (buffer-name (other-buffer (current-buffer)))
:action (lambda (buffer)
(interactive)
(split-window-below)
(switch-to-buffer buffer nil 'force-same-window)
(edwina-arrange))
:matcher #'ivy--switch-buffer-matcher
:caller 'ivy-switch-buffer))
;; Using an advice for this functionality breaks various internal
;; things in split-window, hence a new interactive function.
(defun edwina-split-arrange ()
(interactive)
(split-window-below)
(edwina-arrange))
:bind (("C-x 2" . edwina-split-arrange)
:map edwina-mode-map
("s-w b" . #'edwina-split-to-buffer)))
(use-package gruber-darker-theme)
(use-package ht)
(use-package hydra)

View file

@ -35,7 +35,6 @@ let
dash-functional
direnv
dockerfile-mode
edwina
elixir-mode
elm-mode
erlang