(require 'package) (add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/")) (defvar my-packages '(better-defaults clojure-mode cider zenburn-theme idle-highlight-mode ido-ubiquitous find-file-in-project smex scpaste)) (package-initialize) (dolist (p my-packages) (when (not (package-installed-p p)) (package-install p))) (smex-initialize) (global-set-key (kbd "M-x") 'smex) (global-set-key (kbd "M-X") 'smex-major-mode-commands) (load-theme 'zenburn t) (setq scpaste-http-destination "http://fedorapeople.org/~elmarco" scpaste-scp-destination "elmarco@fedorapeople.org:~/public_html/scpaste") (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 ("dd4db38519d2ad7eb9e2f30bc03fba61a7af49a185edfd44e020aa5345e3dca7" default))) '(package-selected-packages (quote (zenburn-theme cider clojure-mode scpaste smex find-file-in-project ido-ubiquitous idle-highlight-mode better-defaults)))) (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. )