summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2025-02-16 22:03:57 +0800
committernoa2025-02-16 22:03:57 +0800
commitf1c022771f97f06146b02a3c912604b2cf6284ec (patch)
treedab8ce01720044f49bdee95fba1599a4f9eccd1a
parent5c212729cf605a474ef32e4ceea041c0ccc80d48 (diff)
Disable embark
-rw-r--r--emacs/init.el16
1 files changed, 6 insertions, 10 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 71e8359..40c299a 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -890,11 +890,11 @@ With prefix argument TIME, also add the current time."
 
 ;; Experiment with embark
 (use-package embark
-  :ensure t
+  ;; :ensure t
 
   :bind
   (("C-<return>" . embark-act)
-   ("M-<return>" . embark-dwim)
+   ;; ("M-<return>" . embark-dwim)
    ("C-h B" . embark-bindings)) ;; alternative for `describe-bindings'
 
   :init
@@ -903,30 +903,26 @@ With prefix argument TIME, also add the current time."
 
 (use-package embark-consult
   :disabled t
+  :after (embark consult)
   :ensure t
   :hook
   (embark-collect-mode . consult-preview-at-point-mode))
 
 (use-package which-key
-  :ensure t
+  :disabled t
   :custom
   (which-key-mode t))
 
-;; for whatever reason, window-combination-resize doesn't work with this
-(global-set-key (kbd "C-x 3") #'split-root-window-right)
-(setopt window-min-height 1
-        window-combination-resize t
-        window-resize-pixelwise t
-        frame-resize-pixelwise t)
 
 (use-package pdf-tools
   :when (display-graphic-p)
-  :ensure t
+  ;; :ensure t
   :magic ("%PDF" . pdf-view-mode)
   :config
   (pdf-tools-install :no-query))
 
 (use-package hyperspace
+  :disabled t
   :ensure t
   :bind ("C-c s" . hyperspace)
   :custom (hyperspace-actions