;;; Code:
-(when (eq system-type 'darwin)
- (setq default-frame-alist '((fullscreen . fullboth))))
-
;;; Temporarily increase GC threshold to expedite Emacs startup
(let ((normal-gc-cons-threshold (* 20 1024 1024))
(init-gc-cons-threshold (* 1024 1024 1024))
(setq gc-cons-threshold normal-gc-cons-threshold
mode-line-format normal-mode-line-format))))
+;;; OS-specific settings
+(pcase system-type
+ ('darwin (setq default-frame-alist '((fullscreen . fullboth)))))
+
;;; Set some variables
(setq
;; my name
save-interprogram-paste-before-kill 2048
;; have C-u followed by repeated C-SPC keep popping
set-mark-command-repeat-pop t
- ;; enable italic text in code
- modus-themes-italic-constructs t
- ;; enable bold text in code
- modus-themes-bold-constructs t
- ;; use fixed-pitch text where appropriate
- modus-themes-mixed-fonts t
- ;; make prompts bold
- modus-themes-prompts '(bold)
- ;; give source blocks a distinct background shade
- modus-themes-org-blocks 'gray-background
- ;; use variable-pitch text here are there
- modus-themes-variable-pitch-ui t
;; fine-tune some theme settings
- modus-themes-common-palette-overrides '((border-mode-line-active unspecified)
- (border-mode-line-inactive unspecified)
- (bg-mode-line-active bg-blue-intense)
- (fg-mode-line-active fg-main)
- (fringe unspecified)
- (underline-link border)
- (underline-link-visited border)
- (underline-link-symbolic border)
- (fg-region unspecified))
ef-themes-mixed-fonts t
ef-themes-variable-pitch-ui t
ef-themes-region nil
(keymap-global-set "C-;" #'avy-goto-char-timer)
(keymap-global-set "C-s-f" #'toggle-frame-fullscreen)
(keymap-global-set "C-s-l" #'esy/pulse-line)
-(keymap-global-set "\"" #'insert-pair)
+(keymap-global-set "M-\"" #'insert-pair)
(keymap-global-set "<f5>" #'esy/ef-themes-load-random)
(keymap-global-set "s-]" #'esy/ef-themes-load-random)
(keymap-global-set "s-[" #'esy/ef-themes-load-previous)