;;; init.el --- my emacs configuration -*- lexical-binding: t; -*-
(add-to-list 'load-path (expand-file-name (concat user-emacs-directory "site-lisp")))
(setq garbage-collection-messages t)
(add-hook 'emacs-startup-hook
#'(lambda ()
(message (format "Initialised in %s seconds with %s garbage collections." (emacs-init-time) gcs-done))
;;; reset garbage collector
(setq
gc-cons-threshold 800000
gc-cons-percentage 0.2)))
(setopt user-mail-address "noa@gaiwan.org")
(setopt indent-tabs-mode nil)
;; properly distinguish these chords from their ascii legacy
(define-key input-decode-map [?\C-m] [C-m])
(use-package tubthumping-theme
:config
(load-theme 'tubthumping t))
;; I make my caps lock a menu key, so i can open the command palette with it
(define-key context-menu-mode-map (kbd "