summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-01-17 01:28:36 +0000
committerjao <jao@gnu.org>2023-01-17 01:28:36 +0000
commitc1027bad124c488a84d5e48ca2786ff9b354550e (patch)
treee1faf57fced411d866336dee8dc406b97869e8a0
parent1a14cacb787f7ceb309e311474ad8c7cc7c6355e (diff)
downloadelibs-c1027bad124c488a84d5e48ca2786ff9b354550e.tar.gz
elibs-c1027bad124c488a84d5e48ca2786ff9b354550e.tar.bz2
completion nits
-rw-r--r--custom/jao-custom-completion.el15
1 files changed, 9 insertions, 6 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el
index 51522a7..f87507b 100644
--- a/custom/jao-custom-completion.el
+++ b/custom/jao-custom-completion.el
@@ -1,23 +1,25 @@
;; -*- lexical-binding: t; -*-
-;;; completion styles
+;;; builtin completion
(setq tab-always-indent 'complete
read-extended-command-predicate #'command-completion-default-include-p
+ completion-auto-select 'second-tab
+ completion-auto-help 'always
completion-category-defaults nil
completion-cycle-threshold 4
completions-detailed t
+ completions-header-format nil
+ completion-ignore-case t
completion-show-help nil
completion-show-inline-help t
- completion-ignore-case t
- completion-wrap-movement t
- completion-auto-select nil
completions-format 'one-column
completion-styles '(basic substring partial-completion emacs22)
completion-category-overrides
'((file (styles partial-completion))
(command (styles initials substring partial-completion))
(symbol (styles initials substring partial-completion))
- (variable (styles initials substring partial-completion))))
+ (variable (styles initials substring partial-completion)))
+ completion-wrap-movement t)
;;; crm indicator
(defun jao-completion--crm-indicator (args)
@@ -352,7 +354,8 @@
(define-key embark-url-map "V" #'jao-embark-targets-vlc)
;;;; vc targets
-(use-package embark-vc :ensure t)
+
+
;;; avy
(use-package avy
:ensure t