diff options
author | Thanos Apollo <[email protected]> | 2023-06-03 19:57:10 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-06-03 19:57:10 +0300 |
commit | 2cc77edb54c0360532d13f5e5bfac06cce3c5ada (patch) | |
tree | a7c90c479bccc045cef9d7be80ecd7939d6462fa | |
parent | ffe91ad22f52a10fc0c2d36161e9b193b953cebd (diff) |
emacs: update dev essentials
Bind `xref-find-definitions` and update company-mode configuration
-rwxr-xr-x | emacs.org | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -515,13 +515,16 @@ Fonts and basic appearance settings for each device #+begin_src emacs-lisp (electric-pair-mode 1) (global-flycheck-mode) + (global-set-key (kbd "M-.") 'xref-find-definitions) (require 'company) (add-hook 'after-init-hook 'global-company-mode) (define-key company-active-map (kbd "TAB") 'company-indent-or-complete-common) + (setq company-idle-delay + (lambda () (if (company-in-string-or-comment) nil 0.0))) (require 'company-box) - (add-hook 'company-mode 'company-box-mode) + (add-hook 'company-mode-hook 'company-box-mode) (require 'dap-mode) (dap-ui-mode) |