             "?" #'embark-keymap-help))
 
 (use-package company
-  :general
+  :preface
+  (defun user/setup-company-backends ()
+    (csetq company-backends (remove 'company-capf company-backends))
+    (push 'company-capf company-backends))
+  :general
+  ("C-c C-." #'company-complete)
   (:keymaps 'company-active-map
             "ESC" #'company-abort
             "<tab>" #'company-complete-selection

  ('cmake-mode-hook #'lsp t)
  ('sh-mode-hook #'lsp t)
  ('yaml-mode-hook #'lsp t)
  ('lsp-managed-mode-hook #'user/setup-lsp-completion)
  ('lsp-mode-hook #'lsp-enable-which-key-integration)

  :custom

  (company-tooltip-flip-when-above nil)
  ;; (company-occurrence-weight-function #'company-occurrence-prefer-any-closest)
  ;; (company-transformers '(company-sort-by-occurrence))
  :ghook
  ('after-init-hook #'global-company-mode)
  ('global-company-mode-hook #'user/setup-company-backends))

(use-package eacl
  :general ("C-x C-l" #'eacl-complete-line))
