From: Ramakrishnan Muthukrishnan Date: Wed, 1 Oct 2014 14:35:02 +0000 (+0530) Subject: New packages based config X-Git-Url: https://git.rkrishnan.org/vdrive/%22file:/frontends/(%5B%5E?a=commitdiff_plain;h=dedc9d85ea50d7739ac163d305a54451dc359240;p=.emacs.d.git New packages based config --- diff --git a/init.el b/init.el new file mode 100644 index 0000000..f56783e --- /dev/null +++ b/init.el @@ -0,0 +1,42 @@ +;; Prevent the cursor from blinking +(blink-cursor-mode 0) + +;; Don't use messages that you don't rea +(setq make-backup-files nil) +(setq initial-scratch-message "") +(setq inhibit-startup-message t) +;; Don't let Emacs hurt your ears +(setq visible-bell t) + +;; This is bound to f11 in Emacs 24.4 +;; (toggle-frame-fullscreen) +(custom-set-variables + '(initial-frame-alist (quote ((fullscreen . maximized))))) +;; Who use the bar to scroll? +(scroll-bar-mode 0) + +(tool-bar-mode 0) +(menu-bar-mode 0) + +; my-packages.el +(require 'package) +(add-to-list 'package-archives + '("melpa" . "http://melpa.milkbox.net/packages/") t) +(add-to-list 'package-archives + '("marmalade" . "http://marmalade-repo.org/packages/") t) +(package-initialize) + +; fetch the list of packages available +(unless package-archive-contents + (package-refresh-contents)) + +;; make sure my list of packages are installed +(setq package-list '(rust-mode haskell-mode monokai-theme racket-mode)) + +; install the missing packages +(dolist (package package-list) + (unless (package-installed-p package) + (package-install package))) + +;; monokai +(load-theme 'monokai t)