Created
October 27, 2019 07:18
-
-
Save veer66/1a9d9b529d3ba8bed41ec316ab45718d to your computer and use it in GitHub Desktop.
This file contains hidden or 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-names-vector | |
| ["#212526" "#ff4b4b" "#b4fa70" "#fce94f" "#729fcf" "#e090d7" "#8cc4ff" "#eeeeec"]) | |
| '(column-number-mode t) | |
| '(custom-enabled-themes (quote (tango-dark))) | |
| '(custom-safe-themes | |
| (quote | |
| ("c74e83f8aa4c78a121b52146eadb792c9facc5b1f02c917e3dbb454fca931223" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" "3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" default))) | |
| '(package-selected-packages | |
| (quote | |
| (dockerfile-mode go-mode alchemist rainbow-delimiters inf-ruby edn paredit cider clojure-mode powerline smart-mode-line treemacs racer php-mode magit company-racer))) | |
| '(show-paren-mode t) | |
| '(tool-bar-mode nil)) | |
| (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. | |
| '(default ((t (:family "DejaVu Sans Mono" :foundry "PfEd" :slant normal :weight normal :height 128 :width normal)))) | |
| '(rainbow-delimiters-depth-2-face ((t (:inherit rainbow-delimiters-base-face :foreground "SeaGreen3")))) | |
| '(rainbow-delimiters-depth-3-face ((t (:inherit rainbow-delimiters-base-face :foreground "DeepPink1")))) | |
| '(rainbow-delimiters-depth-4-face ((t (:inherit rainbow-delimiters-base-face :foreground "SteelBlue1")))) | |
| '(rainbow-delimiters-depth-5-face ((t (:inherit rainbow-delimiters-base-face :foreground "orange red")))) | |
| '(rainbow-delimiters-depth-6-face ((t (:inherit rainbow-delimiters-base-face :foreground "DarkGoldenrod1"))))) | |
| ;; (require 'powerline) | |
| ;; (powerline-default-theme) | |
| ;(setq sml/theme 'respectful) | |
| ;(sml/setup) | |
| (autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t) | |
| (add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode) | |
| (add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode) | |
| (add-hook 'ielm-mode-hook #'enable-paredit-mode) | |
| (add-hook 'lisp-mode-hook #'enable-paredit-mode) | |
| (add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode) | |
| (add-hook 'scheme-mode-hook #'enable-paredit-mode) | |
| (add-hook 'clojure-mode-hook #'enable-paredit-mode) | |
| ;(add-hook 'edn-mode #'enable-paredit-mode) | |
| (put 'downcase-region 'disabled nil) | |
| (setq alchemist-mix-env "prod") | |
| (setq alchemist-iex-program-name "/home/vee/bin/iex -S mix") | |
| (setq backup-inhibited t) | |
| (setq auto-save-default nil) | |
| (setq backup-inhibited t) | |
| (setq auto-save-default nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment