diff options
author | mattkae <mattkae@protonmail.com> | 2022-12-23 20:58:35 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-12-23 20:58:35 -0500 |
commit | a652f92adaa10f53e1b66d6aefd2daab41fa3231 (patch) | |
tree | 641d1cb82a92c3616de66a0322e4aa7e6db16846 /lisp | |
parent | 45e9697c549c14d2144ba4cb938adc454e8fb9cc (diff) |
Improving linum performance
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/general.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/general.el b/lisp/general.el index bc34527..e048836 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -56,7 +56,7 @@ (blink-cursor-mode 1) ;; Line numbers -(global-linum-mode 1) +(global-display-line-numbers-mode 1) ;; Show number of matches (setq isearch-lazy-highlight t) @@ -252,14 +252,12 @@ :defer t :init (add-hook 'after-init-hook 'global-company-mode) :config - ;; (use-package company-irony :ensure t :defer t) TODO: Do I need irony? - (setq company-idle-delay 0 + (setq company-idle-delay 0.3 company-minimum-prefix-length 2 company-show-quick-access t company-tooltip-limit 20 company-dabbrev-downcase nil - company-backends '((company-capf company-gtags company-elisp company-css)) ; TODO: do i need company-irony here - company-vscode-light-icons-margin 1 + company-backends '((company-capf company-gtags company-elisp company-css)) ) ) @@ -336,7 +334,7 @@ "Set the colors of vterm to match my personal taste." (setq-local global-hl-line-mode nil) ;(turn-off-evil-mode) - (linum-mode -1) + (display-line-numbers-mode -1) (setq left-fringe-width 0) (setq right-fringe-width 0) (set-window-fringes (selected-window) 0 0 nil) |