remove ace-window
This commit is contained in:
4 files changed
-36
No files matched your search
@@ -157,9 +157,6 @@
|
||||
[submodule "site-lisp/saveplace-pdf-view"]
|
||||
path = site-lisp/saveplace-pdf-view
|
||||
url = https://github.com/nicolaisingh/saveplace-pdf-view.git
|
||||
[submodule "site-lisp/ace-window"]
|
||||
path = site-lisp/ace-window
|
||||
url = https://github.com/abo-abo/ace-window.git
|
||||
[submodule "site-lisp/markdown-mode"]
|
||||
path = site-lisp/markdown-mode
|
||||
url = https://github.com/jrblevin/markdown-mode.git
|
||||
|
||||
@@ -93,7 +93,6 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
|
||||
(require 'init-proxy)
|
||||
(require 'init-irc)
|
||||
(require 'init-mail)
|
||||
(require 'init-ace-window)
|
||||
(require 'init-markdown)
|
||||
(require 'init-media)
|
||||
(require 'init-plantuml)
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
;; -*- coding: utf-8; lexical-binding: t; -*-
|
||||
|
||||
(require 'init-package)
|
||||
(add-pkg-in-pkg-dir "ace-window")
|
||||
(add-pkg-in-pkg-dir "posframe")
|
||||
(add-pkg-in-pkg-dir "avy")
|
||||
|
||||
|
||||
(require 'lazy-load)
|
||||
|
||||
|
||||
(with-eval-after-load 'ace-window
|
||||
(setq aw-dispatch-when-more-than 3))
|
||||
|
||||
(defun creature/auto-toggle-ace-window-posframe-mode (&rest _ignore)
|
||||
"Enable `ace-window-posframe-mode' when Emacs running with GUI, otherwise disable it."
|
||||
(if (display-graphic-p)
|
||||
(progn
|
||||
(require 'ace-window-posframe)
|
||||
(ace-window-posframe-mode 1))
|
||||
(when (fboundp 'ace-window-posframe-mode)
|
||||
(ace-window-posframe-mode -1))))
|
||||
|
||||
(advice-add 'ace-window :before #'creature/auto-toggle-ace-window-posframe-mode)
|
||||
|
||||
(lazy-load-global-keys
|
||||
'(("C-x o" . ace-window))
|
||||
"ace-window")
|
||||
|
||||
|
||||
(provide 'init-ace-window)
|
||||
Submodule site-lisp/ace-window deleted from 77115afc1b.
Reference in new issue
Block a user