Skip to content

Instantly share code, notes, and snippets.

@jehrhardt
Last active February 16, 2017 15:20
Show Gist options
  • Save jehrhardt/7276703 to your computer and use it in GitHub Desktop.
Save jehrhardt/7276703 to your computer and use it in GitHub Desktop.
My Emacs Prelude customizations - for Mac OS X
;;; derjan.el --- derjan's customizations of Emacs prelude
;; Copyright © 2013-2015 Jan Ehrhardt
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; 1. Install Emacs `brew install emacs --with-cocoa`
;; 2. Install Emacs `curl -L https://git.io/epre | sh`
;; 3. Put this file in ~/.emacs.d/personal
;; 4. Run Emacs as a service in the background `brew services start emacs`
;; 5. Add Emacs plugin to .zshrc
;; 6. Start Emacs via `e` from Terminal
;;; Code:
;; Set initial size of frame / window
(add-to-list 'default-frame-alist '(height . 75))
(add-to-list 'default-frame-alist '(width . 105))
;; Make right option key work as expected on German keyboard
(setq mac-right-option-modifier nil)
;; Disable guru mode
(setq prelude-guru nil)
;; Use English as default dictionary
(setq ispell-dictionary "en")
;; Disable Ensime start up screen
(setq ensime-startup-snapshot-notification nil)
;; Add Groovy support
(prelude-require-package 'groovy-mode)
;;; derjan.el ends here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment