From 842840d8b1b2797076920cb6727088d1cd8c54d4 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sun, 28 Aug 2022 11:14:22 -0400 Subject: [PATCH] minor quality of life tweaks (highlight current line, y/n instead of yes/no --- common/_global.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/common/_global.el b/common/_global.el index eabf3ca..1b62219 100644 --- a/common/_global.el +++ b/common/_global.el @@ -8,7 +8,7 @@ (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ; this goes in chemacs2 init -- DO NOT UNCOMMENT (package-initialize) ; this goes in chemacs2 init -- DO NOT UNCOMMENT (add-to-list 'package-selected-packages - '(dired-single diredfl xclip doom-modeline magit helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package) + '(dired-single diredfl xclip doominhibitinhibit-modeline magit helpful helm helm-org helm-ls-git projectile helm-projectile dired-rainbow dired-rainbow-listing dired-single dash s origami persp-mode persp-mode-projectile-bridge modus-themes transpose-frame use-package) ) (require 'use-package) @@ -170,6 +170,8 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Set some global config (setq inhibit-splash-screen t) ; why do you need to tell me things i know by default +(setq inhibit-startup-screen t) +(setq inhibit-startup-echo-area-message t) (setq-default tab-width 4) ; sanity! (electric-indent-mode 0) ; return should NOT fuck with the indentation of the previous line @@ -188,6 +190,12 @@ ; Clipboard integration (use-package xclip :config (xclip-mode 1)) +;; use y or n instead of yes or not +(fset 'yes-or-no-p 'y-or-n-p) + +; highlight current line +(global-hl-line-mode +1) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; set font for emoji -- DOES NOT WORK ON MOBILE (when (eq system-type 'windows-nt)