diff options
author | Ashton Wiersdorf <ashton.wiersdorf@pobox.com> | 2023-02-22 01:00:37 -0700 |
---|---|---|
committer | Ashton Wiersdorf <ashton.wiersdorf@pobox.com> | 2023-02-22 01:01:27 -0700 |
commit | b5ad459b58702e9499fd08ed18e003c8a368ad68 (patch) | |
tree | f225c0279cf7d5ae1aee09a39a5883f01479bd4b | |
parent | 411b56ffa3e082ab2dfdca6deccb1cb523d46b9e (diff) |
Disable fido by default; improve built-in completion config
Closes #6
-rw-r--r-- | init.el | 19 |
1 files changed, 12 insertions, 7 deletions
@@ -87,13 +87,18 @@ If the new path's directories does not exist, create them." (setq completion-styles '(basic initials substring)) ; Different styles to match input to candidates (setq completion-auto-help 'always) ; Open completion always; `lazy' another option -(setq completion-auto-select 'second-tab) ; See `C-h v completion-auto-select' for more possible values -(setq completions-max-height 10) ; This is arbitary - -;; Show minibuffer candiates in a vertical list -(fido-vertical-mode) -(setq icomplete-delay-completions-threshold 4000) -(define-key minibuffer-mode-map (kbd "TAB") 'minibuffer-complete) ; TAB acts more like how it does in the shell +(setq completions-max-height 20) ; This is arbitary +(setq completions-detailed t) +(setq completions-format 'one-column) +(setq completions-group t) +(setq completion-auto-select 'second-tab) ; Much more eager +;(setq completion-auto-select t) ; See `C-h v completion-auto-select' for more possible values + +(keymap-set minibuffer-mode-map "TAB" 'minibuffer-complete) ; TAB acts more like how it does in the shell + +;; For a fancier built-in completion option, try ido-mode or fido-mode. See also mixins/ui.el +;(fido-vertical-mode) +;(setq icomplete-delay-completions-threshold 4000) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; |