Skip to content

Instantly share code, notes, and snippets.

@g4brielvs
Created May 16, 2016 23:48
Show Gist options
  • Save g4brielvs/4aa9e13071688876aa1c7d4ef793b430 to your computer and use it in GitHub Desktop.
Save g4brielvs/4aa9e13071688876aa1c7d4ef793b430 to your computer and use it in GitHub Desktop.
;; init.el --- Emacs configuration
;;
;; Author: Gabriel Vicente <[email protected]>
;; URL: http://www.gabrielusvicente.com
;; Version: 1.0.0
;; This file is not part of GNU Emacs.
;; INSTALL PACKAGES
;; --------------------------------------
(when (>= emacs-major-version 24)
(require 'package)
(package-initialize))
(setq package-archives
'(("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
(require 'ido)
;; BASIC CUSTOMIZATION
;; --------------------------------------
(setq inhibit-startup-message t) ;; hide the startup message
(global-linum-mode t) ;; enable line numbers globally
(if (eq system-type 'darwin)
(setq mac-command-modifier 'meta)
(setq mac-option-modifier nil)
)
(ido-mode t)
(when (require 'elpy nil t)
(elpy-enable)
(elpy-use-ipython))
;; init.el ends here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment