Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
;; 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)
(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.
'(custom-safe-themes
(quote
("365d9553de0e0d658af60cff7b8f891ca185a2d7ba3fc6d29aadba69f5194c7f" "611e38c2deae6dcda8c5ac9dd903a356c5de5b62477469133c89b2785eb7a14d" "b81bfd85aed18e4341dbf4d461ed42d75ec78820a60ce86730fc17fc949389b2" "6f11ad991da959fa8de046f7f8271b22d3a97ee7b6eca62c81d5a917790a45d9" "4182c491b5cc235ba5f27d3c1804fc9f11f51bf56fb6d961f94788be034179ad" "bcc6775934c9adf5f3bd1f428326ce0dcd34d743a92df48c128e6438b815b44f" default)))
'(org-babel-load-languages
(quote
((emacs-lisp . t)
(css . t)
(ditaa . t)
(gnuplot . t)
(js . t)
(latex . t)
(python . t)
(sh . t)
(sql . t)
(sqlite . t))))
'(package-selected-packages
(quote
(flycheck doom-themes hc-zenburn-theme magit magit-rockstar markdown-mode markdown-mode+ markdown-preview-eww markdown-preview-mode yasnippet yasnippet-snippets goto-last-change lorem-ipsum helm helm-bind-key helm-flycheck helm-flymake helm-flyspell helm-ispell smex undo-tree))))
(load-theme 'doom-molokai)
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
("marmalade" . "https://marmalade-repo.org/packages/")
("melpa" . "https://melpa.org/packages/")))
;;Helm
;(helm-mode 1)
;;Nyan
(add-to-list 'load-path "~/.emacs.d/nyan-mode")
(require 'nyan-mode)
(nyan-mode 1)
(scroll-bar-mode 0)
;; Enable show Parenthesis mode on default
(show-paren-mode 1)
;; Enable flyspell and flycheck by default
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'prog-mode-hook 'flyspell-prog-mode)
(global-flycheck-mode)
;;Swap nasty calc command for sexy helm calculator
(define-key global-map (kbd "C-x *") 'helm-calcul-expression)
;;Smex
(global-set-key [(meta x)] 'smex)
(global-set-key (kbd "C-c l") 'org-store-link)
(defun leetmode nil
"Make stuff leet."
(interactive)
(toggle-frame-fullscreen)
(menu-bar-mode 0)
(tool-bar-mode 0)
(scroll-bar-mode 0)
)
;;Glorious undo-tree!
(global-undo-tree-mode)
;;Persistent history. Why would you not want this?
(setq savehist-additional-variables
'(search-ring regexp-search-ring kill-ring)
savehist-file "~/.emacs.d/savehist")
(savehist-mode 1)
;;Fix yanking - why be forced to be accurate with a mouse or, worse, a touchpad?
(setq mouse-yank-at-point 1)
;; Handy when you need to jump back and forth
(require 'goto-last-change)
(global-set-key [(meta p)(u)] 'goto-last-change)
;; For boilerplate
(require 'lorem-ipsum)
;Super duper expansion. Dude.
(global-set-key (kbd "M-/") 'hippie-expand)
(setq ispell-dictionary "british")
(yas-global-mode)
(server-start)
(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.
'(fringe ((t (:inherit default :background "gray8" :foreground "#FFFFFF")))))
(provide '.emacs)
;;; .emacs ends here