update main init
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user