1
0
Fork 0
dotfiles/emacs/.emacs.d/init.el

56 lines
2.2 KiB
EmacsLisp
Raw Normal View History

2018-04-06 10:24:43 +02:00
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
2018-08-29 06:59:53 +02:00
(require 'package)
(add-to-list 'package-archives (cons "melpa" "https://melpa.org/packages/") t)
2018-04-06 10:24:43 +02:00
(package-initialize)
(pdf-tools-install)
(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.
'(ansi-color-names-vector
2018-04-12 16:15:03 +02:00
["#2e3436" "#a40000" "#4e9a06" "#c4a000"
"#204a87" "#5c3566" "#729fcf" "#eeeeec"])
2018-04-06 10:24:43 +02:00
'(column-number-mode t)
2018-07-06 06:57:09 +02:00
'(cua-mode t nil (cua-base))
2018-04-06 10:24:43 +02:00
'(custom-enabled-themes (quote (tango)))
2018-08-29 06:59:53 +02:00
'(package-selected-packages (quote (geiser slime pdf-tools)))
2018-04-06 10:24:43 +02:00
'(scroll-bar-mode nil)
'(show-paren-mode t)
2018-04-12 16:15:03 +02:00
'(tool-bar-mode nil)
'(whitespace-style
(quote (face trailing spaces newline space-mark newline-mark))))
2018-04-06 10:24:43 +02:00
(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.
2018-07-06 06:57:09 +02:00
'(default ((t (:family "Latin Modern Mono" :foundry "UKWN"
:slant normal :weight normal :height 120 :width normal))))
2018-04-12 16:15:03 +02:00
'(whitespace-space ((t (:foreground "gray")))))
2018-06-14 07:14:14 +02:00
(cua-mode)
2018-04-22 17:26:18 +02:00
(setq-default inhibit-splash-screen t)
(setq-default fill-column 80)
(add-hook 'prog-mode-hook 'ruler-mode)
2018-07-06 06:57:09 +02:00
(setq-default indent-tabs-mode nil)
(add-hook 'find-file-hook 'whitespace-mode)
2018-06-14 07:14:14 +02:00
(add-hook 'scheme-mode-hook
(lambda ()
(require 'geiser)
2018-07-06 06:57:09 +02:00
(setq-default geiser-active-implementations '(guile racket))
2018-06-14 07:14:14 +02:00
(setq-default geiser-repl-use-other-window nil)
(setq-default geiser-repl-query-on-kill-p nil)))
2018-05-23 16:48:23 +02:00
(add-hook 'python-mode-hook
(lambda ()
(setq fill-column 79)
(setq comment-fill-column 72)))
2018-07-06 06:57:09 +02:00
; The SBCL binary and command-line arguments
(setq inferior-lisp-program "/usr/local/bin/sbcl --noinform")
2018-08-29 06:59:53 +02:00
(when window-system (set-frame-size (selected-frame) 80 25))