update main init

This commit is contained in:
2025-08-12 17:19:27 +02:00
parent 02d21bd761
commit 3c5abef2a6
5 changed files with 245 additions and 20 deletions

View File

@@ -132,8 +132,6 @@ of `menu-bar-final-items'."
(lookup-key (cons 'keymap (nreverse (current-active-maps))) keyseq))
)
;;(setq tab-always-indent 'complete) ;; use 'complete when auto-complete is disabled
(use-package company
:delight (company-mode "Co") ;; \u24B8 c
;;:bind (("C-M-i" . company-complete))
@@ -172,9 +170,9 @@ Possible PACKAGE values are `company'."
(define-key map (kbd "TAB") 'company-complete-common-or-cycle)
(define-key map (kbd "<tab>") 'company-complete-common-or-cycle)
(define-key map (kbd "<S-tab>")
(lambda () (company-complete-common-or-cycle -1)))
(lambda () (interactive) (company-complete-common-or-cycle -1)))
(define-key map (kbd "<backtab>")
(lambda () (company-complete-common-or-cycle -1)))
(lambda () (interactive) (company-complete-common-or-cycle -1)))
)
(t
(define-key map (kbd "TAB") nil)