diff --git a/emacs/.emacs b/emacs/.emacs new file mode 100644 index 0000000..37e95ad --- /dev/null +++ b/emacs/.emacs @@ -0,0 +1,34 @@ +;; ~/.emacs + +(require 'package) + +(add-to-list 'package-archives +'("melpa" . "http://melpa.org/packages/") t) + +(package-initialize) +(unless (package-installed-p 'use-package) +(package-refresh-contents) +(package-install 'use-package)) + +(use-package zenburn-theme +:ensure t +:config +(load-theme 'zenburn t)) +(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. + '(package-selected-packages '(auto-complete zenburn-theme use-package))) +(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. + ) + +(add-hook 'prog-mode-hook 'display-line-numbers-mode) + +(ac-config-default) + +(setq-default tab-width 2) diff --git a/emacs/init.el b/emacs/init.el new file mode 100644 index 0000000..f995eae --- /dev/null +++ b/emacs/init.el @@ -0,0 +1 @@ +(load-theme 'wheatgrass')