diff options
author | Vincent Ambo <Vincent Ambo> | 2020-01-05T01·13+0000 |
---|---|---|
committer | Vincent Ambo <Vincent Ambo> | 2020-01-05T01·13+0000 |
commit | b2cd30bfd418bf85c7fb705841368cdd2028c678 (patch) | |
tree | a6ec4a99070ce816bc3d4a9b4b3cbb61459bcfa3 /tools/emacs/config | |
parent | 85ee07457c5fe404f38b26e01712831a6c1e4f1e (diff) |
chore(emacs.d): Remove edwina configuration r/331
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)
Diffstat (limited to 'tools/emacs/config')
-rw-r--r-- | tools/emacs/config/desktop.el | 7 | ||||
-rw-r--r-- | tools/emacs/config/init.el | 25 |
2 files changed, 0 insertions, 32 deletions
diff --git a/tools/emacs/config/desktop.el b/tools/emacs/config/desktop.el index fb927b12e4d8..d923ab584c75 100644 --- a/tools/emacs/config/desktop.el +++ b/tools/emacs/config/desktop.el @@ -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) diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el index 0410289b6cc2..eac109f985d0 100644 --- a/tools/emacs/config/init.el +++ b/tools/emacs/config/init.el @@ -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) |