Skip to content

Instantly share code, notes, and snippets.

@44100hertz
Last active February 24, 2017 08:12
Show Gist options
  • Save 44100hertz/f40a92536d778f86e1de205029c4af94 to your computer and use it in GitHub Desktop.
Save 44100hertz/f40a92536d778f86e1de205029c4af94 to your computer and use it in GitHub Desktop.
.emacs
;; 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.
(package-initialize)
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
(scroll-bar-mode -1)
(tool-bar-mode -1)
(setq-default show-trailing-whitespace t)
(setq-default indent-tabs-mode nil)
(set-default-font "Source Code Pro-14")
(defun my-go-mode-hook ()
(add-hook 'before-save-hook 'gofmt-before-save))
(add-hook 'go-mode-hook 'my-go-mode-hook)
(setq c-default-style "stroustrup")
;; (set-frame-parameter (selected-frame) 'alpha '(85 . 85))
;; (add-to-list 'default-frame-alist '(alpha . (85 . 85)))
(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])
'(ansi-color-names-vector
["#2e3436" "#a40000" "#4e9a06" "#c4a000" "#204a87" "#5c3566" "#729fcf" "#eeeeec"])
'(column-number-mode t)
'(custom-enabled-themes (quote (tango)))
'(electric-pair-mode t)
'(package-selected-packages
(quote
(clojure-mode go-mode mips-mode rust-mode magit lua-mode))))
;;(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 (:inherit nil :stipple nil :background "#eeeeec" :foreground "#2e3436" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 90 :width normal :foundry "PfEd" :family "Droid Sans Mono")))))
(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.
'(trailing-whitespace ((t (:background "peach puff")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment