aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-01-17 09:35:14 +0100
committeralexpdp7 <alex@corcoles.net>2026-01-17 08:37:15 +0000
commit10644b7066ff3dcab6b4fc634a97a55e4b515187 (patch)
tree83b61a4f7c2b84a3da394738aa49fead3c6dbf4a
parent1222b3a8e71b18f5d7f7fac35b836923637150f3 (diff)
Tweak and document completion
-rw-r--r--emacs/emacs.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index 13cb2770..807d1ed2 100644
--- a/emacs/emacs.el
+++ b/emacs/emacs.el
@@ -22,9 +22,14 @@
(load-theme 'modus-vivendi :no-confirm) ; colorblind-friendly theme... but has issues with emoji and other unicode. If facing issues, M-x disable-theme
+;; completion:
+;; C-M-i or TAB: accept suggestion if unique/shown, pop up completion list otherwise
+;; M-i; complete as much as possible / pop up completion list
(global-completion-preview-mode 1) ; show things that you can tab-complete
(setq tab-always-indent 'complete) ; allow tab to complete
(setq text-mode-ispell-word-completion nil) ; but do not complete dictionary words
+(setq completion-auto-select t) ; focus the minibuffer for completion
+(setq completions-format 'one-column)
(windmove-default-keybindings) ; S-cursor to move to different windows