From f7491513672697638c7ec488f6f85ec31fec6ee2 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Wed, 26 Jun 2024 18:53:11 +0200 Subject: [PATCH] fix: scroll bars in daemon, corfu demand automatically --- early-init.el | 6 ++++-- init.el | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/early-init.el b/early-init.el index ca3485a..674fee0 100644 --- a/early-init.el +++ b/early-init.el @@ -61,7 +61,10 @@ (memq system-type '(gnu gnu/linux)) (customize-set-variable 'default-frame-alist - '((font . "Hack") + '((vertical-scroll-bars . nil) + (horizontal-scroll-bars . nil) + ; Style + (font . "Hack") (background-color . "#282828") (foreground-color . "#ebdbb2")))) @@ -79,7 +82,6 @@ ;; Visual stuff init (menu-bar-mode -1) (tool-bar-mode -1) -(scroll-bar-mode -1) (tab-bar-mode -1) (blink-cursor-mode -1) (setq ring-bell-function #'ignore) diff --git a/init.el b/init.el index 5682615..9eeabe0 100644 --- a/init.el +++ b/init.el @@ -890,14 +890,14 @@ (my-use-package corfu :ensure t - :commands completion-at-point + :demand t :bind - ("M-m" . corfu-move-to-minibuffer) ("C-SPC" . completion-at-point) (:map corfu-map - ("M-q" . corfu-quick-complete) - ("C-q" . corfu-quick-complete) - ("M-SPC" . corfu-insert-separator)) + ("M-m" . corfu-move-to-minibuffer) + ("M-q" . corfu-quick-complete) + ("C-q" . corfu-quick-complete) + ("M-SPC" . corfu-insert-separator)) :custom (corfu-cycle t) (corfu-quit-no-match 'separator) -- 2.48.1