diff options
Diffstat (limited to 'lisp/general.el')
-rw-r--r-- | lisp/general.el | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/lisp/general.el b/lisp/general.el index 95966e4..a1a5e9c 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -139,7 +139,7 @@ ;; (setq vertico-scroll-margin 0) ;; Show more candidates - ;; (setq vertico-count 20) + (setq vertico-count 24) ;; Grow and shrink the Vertico minibuffer ;; (setq vertico-resize t) @@ -197,7 +197,6 @@ (define-key projectile-mode-map (kbd "C-c p f") 'projectile-ripgrep) (define-key projectile-mode-map (kbd "C-c p o") 'projectile-switch-project) (define-key projectile-mode-map (kbd "C-c p p") 'projectile-find-file) - ) @@ -219,18 +218,6 @@ (use-package magit :ensure t) -;; Emojis -;; (use-package emojify -;; :ensure t -;; :config -;; (when (member "Segoe UI Emoji" (font-family-list)) -;; (set-fontset-font -;; t 'symbol (font-spec :family "Segoe UI Emoji") nil 'prepend)) -;; (setq emojify-display-style 'unicode) -;; (setq emojify-emoji-styles '(unicode)) -;; (bind-key* (kbd "C-c e") #'emojify-insert-emoji)) ; override binding i -;; n any mode - ;; icons (use-package all-the-icons :ensure t @@ -245,8 +232,7 @@ :defer t :init (add-hook 'after-init-hook 'global-company-mode) :config - (setq company-idle-delay 0.1 - company-minimum-prefix-length 2 + (setq company-minimum-prefix-length 2 company-tooltip-limit 10 company-backends '((company-capf company-gtags company-elisp company-css company-dabbrev company-nxml)) company-dabbrev-downcase nil @@ -258,7 +244,6 @@ :defer t :init (company-quickhelp-mode 1) :config - (setq company-quickhelp-delay 0.1) (setq company-quickhelp-color-background (face-attribute 'default :background)) ) @@ -269,7 +254,7 @@ :ensure t :bind ("<f2>" . #'eglot-rename) :config - (add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd-19")) + (add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd-18")) (add-to-list 'eglot-server-programs `((dart-mode) "/home/matthew/Programs/flutter/bin/dart" "language-server")) (add-hook 'c-mode-common-hook 'eglot-ensure) (add-hook 'dart-mode-hook 'eglot-ensure)) @@ -279,20 +264,6 @@ (bind-key* (kbd "M-n") 'flymake-goto-next-error) (bind-key* (kbd "M-p") 'flymake-goto-prev-error) -;; Vterm - -(defun vterm-mode-set-colors() - "Set the colors of vterm to match my personal taste." - (setq-local global-hl-line-mode nil) - ;(turn-off-evil-mode) - (display-line-numbers-mode -1) - (setq left-fringe-width 0) - (setq right-fringe-width 0) - (set-window-fringes (selected-window) 0 0 nil) - (face-remap-add-relative 'default '(:background "#232627")) - (face-remap-add-relative 'default '(:foreground"#fcfcfc")) - ) - ;; Line movement (use-package drag-stuff :config |