;;; Code: (set-language-environment "UTF-8") (set-default-coding-systems 'utf-8) ;; Initialization screen (setq fancy-splash-image "~/.emacs.d/images/true.png") (setq inhibit-startup-screen t initial-scratch-message nil sentence-end-double-space nil ring-bell-function 'ignore frame-resize-pixelwise t) ;; Backup files (setq make-backup-files nil auto-save-default nil create-lockfiles nil) ; Inhibit C-z (when (display-graphic-p) (global-unset-key (kbd "C-z")) (global-unset-key (kbd "C-x C-z"))) (setq delete-old-versions t kept-new-versions 6 kept-old-versions 2 version-control t) (set-face-attribute 'default nil :family "JetBrains Mono" :height 100 :weight 'normal :width 'normal) ; Taken from: https://emacs.stackexchange.com/questions/55059/ligatures-with-the-jetbrains-mono-font (defconst jetbrains-ligature-mode--ligatures '("-->" "//" "/**" "/*" "*/" "