45 lines
1.5 KiB
EmacsLisp
45 lines
1.5 KiB
EmacsLisp
;;; zd-graveyard.el --- where unused snippets go to rest -*- lexical-binding: t -*-
|
|
;;; Commentary:
|
|
;; This file is where all the unused stuff from my configs go, usually things
|
|
;; replaced by others. They are kept here in case they're needed for future
|
|
;; use.
|
|
;;; Code:
|
|
|
|
;;; Company's auto popups, removed due to performance impact
|
|
;; (use-package company-quickhelp
|
|
;; :init
|
|
;; (company-quickhelp-mode 1)
|
|
;; (use-package pos-tip))
|
|
|
|
;;; This was used for making Corfu bind correctly
|
|
;; (use-package emacs
|
|
;; :ensure nil
|
|
;; :custom
|
|
;; ;; TAB cycle if there are only few candidates
|
|
;; ;; (completion-cycle-threshold 3)
|
|
|
|
;; ;; Enable indentation+completion using the TAB key.
|
|
;; ;; `completion-at-point' is often bound to M-TAB.
|
|
;; (tab-always-indent 'complete)
|
|
|
|
;; ;; Emacs 30 and newer: Disable Ispell completion function.
|
|
;; ;; Try `cape-dict' as an alternative.
|
|
;; (text-mode-ispell-word-completion nil)
|
|
|
|
;; ;; Hide commands in M-x which do not apply to the current mode. Corfu
|
|
;; ;; commands are hidden, since they are not used via M-x. This setting is
|
|
;; ;; useful beyond Corfu.
|
|
;; (read-extended-command-predicate #'command-completion-default-include-p))
|
|
|
|
;;; Vertico stuff
|
|
;; (use-package vertico)
|
|
;; (vertico-mode 1)
|
|
|
|
;; (use-package consult)
|
|
;; (global-set-key (kbd "C-s") 'consult-line)
|
|
|
|
;; (use-package orderless
|
|
;; :custom
|
|
;; (completion-styles '(orderless basic))
|
|
;; (completion-category-overrides '((file (styles basic partial-completion)))))
|
|
|