diff options
author | Yann Herklotz <git@yannherklotz.com> | 2023-01-02 23:36:42 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2023-01-02 23:36:42 +0000 |
commit | c84e3e306a14cd6739a4668412368a03f34b1ac6 (patch) | |
tree | 7c4b5b21bef48056ffd49132797474c11be4db2b /init.el | |
parent | 077d7832c4c5dc6e3fac6f7bf7cd06951c2735c6 (diff) | |
download | ymh-emacs-c84e3e306a14cd6739a4668412368a03f34b1ac6.tar.gz ymh-emacs-c84e3e306a14cd6739a4668412368a03f34b1ac6.zip |
Add commentary to the init file
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 32 |
1 files changed, 22 insertions, 10 deletions
@@ -1,19 +1,27 @@ -;; -*- lexical-binding: t; -*- +;;; init.el --- Main configuration file -*- lexical-binding: t; -*- + +;; Author: Yann Herklotz <git@yannherklotz.com> + +;;; Commentary: + +;; This is the main configuration for my emacs configuration. + +;;; Code: (setq user-full-name "Yann Herklotz") (setq user-mail-address "yann@yannherklotz.com") (setq gc-cons-threshold (* 1024 1024 1024)) -(global-set-key (kbd "M-u") #'upcase-dwim) -(global-set-key (kbd "M-l") #'downcase-dwim) -(global-set-key (kbd "M-c") #'capitalize-dwim) +(global-set-key (kbd "M-u") #'upcase-dwim) +(global-set-key (kbd "M-l") #'downcase-dwim) +(global-set-key (kbd "M-c") #'capitalize-dwim) (global-set-key (kbd "C-c z") #'quick-calc) -(global-set-key (kbd "<f5>") #'revert-buffer) -(global-set-key (kbd "C-.") #'other-window) -(global-set-key (kbd "C-,") #'ymh/prev-window) -(global-set-key (kbd "C-\\") #'undo-only) -(global-set-key (kbd "M-SPC") (lambda () (interactive) (insert " "))) +(global-set-key (kbd "<f5>") #'revert-buffer) +(global-set-key (kbd "C-.") #'other-window) +(global-set-key (kbd "C-,") #'ymh/prev-window) +(global-set-key (kbd "C-\\") #'undo-only) +(global-set-key (kbd "M-SPC") (lambda () (interactive) (insert " "))) (global-set-key (kbd "C-<tab>") #'tab-bar-switch-to-recent-tab) (global-set-key (kbd "C-c l") #'org-store-link) @@ -144,7 +152,7 @@ (dolist (c '(overwrite-mode narrow-to-region narrow-to-page upcase-region downcase-region)) (put c 'disabled nil)) - (set-face-attribute 'default nil :font "IBM Plex Mono SmBld-10") + (set-face-attribute 'default nil :font "IBM Plex Mono SmBld-14") (setq auto-mode-alist (append @@ -886,3 +894,7 @@ https://yannherklotz.com")) (unless (file-exists-p custom-file) (with-temp-buffer (write-file custom-file))) (load custom-file) + +(provide 'init) + +;;; init.el ends here |