Last active
January 15, 2020 06:58
-
-
Save evinasgu/a0943b8d4ae77471a58fa5d4a6a73e27 to your computer and use it in GitHub Desktop.
This is the initial configuration of my init.el for emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) | |
(not (gnutls-available-p)))) | |
(proto (if no-ssl "http" "https"))) | |
(when no-ssl | |
(warn "\ | |
Your version of Emacs does not support SSL connections, | |
which is unsafe because it allows man-in-the-middle attacks. | |
There are two things you can do about this warning: | |
1. Install an Emacs version that does support SSL and be safe. | |
2. Remove this warning from your init file so you won't see it again.")) | |
;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired | |
(add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t) | |
(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t) | |
(when (< emacs-major-version 24) | |
;; For important compatibility libraries like cl-lib | |
(add-to-list 'package-archives (cons "gnu" (concat proto "://elpa.gnu.org/packages/"))))) | |
(package-initialize) | |
(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-faces-vector | |
[default default default italic underline success warning error]) | |
'(compilation-message-face (quote default)) | |
'(custom-enabled-themes (quote (tango-dark))) | |
'(custom-safe-themes | |
(quote | |
("08ef1356470a9d3bf363ffab0705d90f8a492796e9db489936de4bde6a4fdb19" "0329c772ed96053a73b9ddddf96c1183e23c267955bbdf78e7933057ce9da04b" "bd7b7c5df1174796deefce5debc2d976b264585d51852c962362be83932873d9" default))) | |
'(fci-rule-color "#3C3D37") | |
'(highlight-changes-colors (quote ("#FD5FF0" "#AE81FF"))) | |
'(highlight-tail-colors | |
(quote | |
(("#3C3D37" . 0) | |
("#679A01" . 20) | |
("#4BBEAE" . 30) | |
("#1DB4D0" . 50) | |
("#9A8F21" . 60) | |
("#A75B00" . 70) | |
("#F309DF" . 85) | |
("#3C3D37" . 100)))) | |
'(magit-diff-use-overlays nil) | |
'(package-selected-packages | |
(quote | |
(switch-buffer-functions projectile cider format-all zerodark-theme rainbow-delimiters dark-krystal-theme monokai-theme python-mode clojure-mode))) | |
'(pos-tip-background-color "#FFFACE") | |
'(pos-tip-foreground-color "#272822") | |
'(vc-annotate-background nil) | |
'(vc-annotate-color-map | |
(quote | |
((20 . "#F92672") | |
(40 . "#CF4F1F") | |
(60 . "#C26C0F") | |
(80 . "#E6DB74") | |
(100 . "#AB8C00") | |
(120 . "#A18F00") | |
(140 . "#989200") | |
(160 . "#8E9500") | |
(180 . "#A6E22E") | |
(200 . "#729A1E") | |
(220 . "#609C3C") | |
(240 . "#4E9D5B") | |
(260 . "#3C9F79") | |
(280 . "#A1EFE4") | |
(300 . "#299BA6") | |
(320 . "#2896B5") | |
(340 . "#2790C3") | |
(360 . "#66D9EF")))) | |
'(vc-annotate-very-old-color nil) | |
'(weechat-color-list | |
(quote | |
(unspecified "#272822" "#3C3D37" "#F70057" "#F92672" "#86C30D" "#A6E22E" "#BEB244" "#E6DB74" "#40CAE4" "#66D9EF" "#FB35EA" "#FD5FF0" "#74DBCD" "#A1EFE4" "#F8F8F2" "#F8F8F0")))) | |
(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. | |
'(rainbow-delimiters-depth-1-face ((t (:foreground "#005580")))) | |
'(rainbow-delimiters-depth-2-face ((t (:foreground "magenta")))) | |
'(rainbow-delimiters-depth-3-face ((t (:foreground "yellow")))) | |
'(rainbow-delimiters-depth-4-face ((t (:foreground "orange red")))) | |
'(rainbow-delimiters-depth-5-face ((t (:foreground "green")))) | |
'(rainbow-delimiters-depth-6-face ((t (:foreground "magenta")))) | |
'(rainbow-delimiters-depth-7-face ((t (:foreground "coral")))) | |
'(rainbow-delimiters-depth-8-face ((t (:foreground "aquamarine")))) | |
'(rainbow-delimiters-depth-9-face ((t (:inherit rainbow-delimiters-base-face :foreground "white"))))) | |
(setq backup-directory-alist '(("" . "~/.emacs.d/backup"))) | |
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode) | |
(windmove-default-keybindings) | |
(global-linum-mode 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment