aboutsummaryrefslogtreecommitdiff
path: root/tw/home/files/emacs-init.el
diff options
context:
space:
mode:
authorTimo Wilken2024-01-15 15:44:33 +0100
committerTimo Wilken2024-01-15 15:44:33 +0100
commit26d5eea3a4bb708385c578670636fa49ebb72ebf (patch)
tree2030432376c0f607dd4f5bb1bfdcd201c3736a62 /tw/home/files/emacs-init.el
parentc5bab0a8e2b9eb87f178290d6b2b6dc0b18e6e7e (diff)
Tweak Emacs completion
Diffstat (limited to 'tw/home/files/emacs-init.el')
-rw-r--r--tw/home/files/emacs-init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el
index 7f4d4e2c..bd821faf 100644
--- a/tw/home/files/emacs-init.el
+++ b/tw/home/files/emacs-init.el
@@ -47,7 +47,9 @@ If CREATE is true and the resulting directory does not exist, create it."
(indicate-empty-lines t "Show a little marker in the margin for lines past EOF.")
(column-number-mode t "Show the column number in the statusline.")
(electric-pair-mode t "Auto-pair suitable characters like parentheses.")
+ (tab-always-indent complete "Enable completion-on-tab.")
(completion-cycle-threshold 6 "Allow cycling through completions if there are 6 or fewer of them.")
+ (completion-styles '(basic partial-completion) "Enable fast completion styles.")
(shell-kill-buffer-on-exit t "Kill *shell* buffers as soon as their shell session exits.")
;; Indentation, formatting.
(indent-tabs-mode nil "Always use spaces to indent.")