Initial commit

This commit is contained in:
Oliver Payne 2022-08-20 11:43:28 +01:00
commit a24d3ef06b
1 changed files with 69 additions and 0 deletions

69
init.el Normal file
View File

@ -0,0 +1,69 @@
(eval-when-compile
(require 'use-package))
(set-face-font 'default "Terminus-10")
;;(set-frame-font "Terminus-10" nil t)
(scroll-bar-mode -1)
(tool-bar-mode -1)
(show-paren-mode t)
(savehist-mode t)
;; Thinkpad keyboards have PrtSc where right alt should be
(global-set-key (kbd "<print>") 'execute-extended-command)
;; (require 'package)
;; (add-to-list 'package-archives
;; '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/"))
(add-to-list 'package-archives
'("nongnu" . "https://elpa.nongnu.org/nongnu/"))
(setq use-package-compute-statistics t)
(use-package magit
:bind ("C-x g" . magit-status))
(use-package paredit)
;; (use-package solarized-theme
;; :init
;; (setq solarized-scale-org-headlines nil
;; solarized-scale-outline-headlines nil
;; solarized-use-less-bold t
;; solarized-use-variable-pitch nil)
;; :config
;; (load-theme 'solarized-dark t))
(use-package modus-themes
:config
(load-theme 'modus-vivendi))
(use-package vertico
:config
(vertico-mode))
(use-package orderless
:init
(setq completion-styles '(orderless basic)
completion-category-defaults nil
completion-category-overrides '((file (styles partial-completion)))))
;;(setq geiser-chicken-binary "/usr/local/bin/chicken-csi")
(add-hook 'org-mode-hook 'auto-fill-mode)
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(column-number-mode t)
'(custom-safe-themes
'("4c56af497ddf0e30f65a7232a8ee21b3d62a8c332c6b268c81e9ea99b11da0d3" "4cc1cc7efd5c2362ef684657eec7d7e482223b1def4edeb0fab52ba1d334d38a" "0c2d7f410f835d59a0293f2a55744e9d3be13aab8753705c6ad4a9a968fb3b28" default))
'(desktop-save-mode nil)
'(package-selected-packages
'(modus-themes orderless solarized-theme vertico use-package racket-mode projectile paredit magit)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)