Created
May 16, 2016 23:48
-
-
Save g4brielvs/4aa9e13071688876aa1c7d4ef793b430 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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