Created
December 7, 2012 04:43
-
-
Save mattjmorrison/4230808 to your computer and use it in GitHub Desktop.
Emacs Config
This file contains 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
(add-to-list 'load-path "~/.emacs.d/plugins") | |
(require 'color-theme) | |
(color-theme-initialize) | |
(color-theme-midnight) | |
(set-face-attribute 'default nil :height 130) | |
(add-to-list 'load-path "~/.emacs.d/vendor") | |
(load-file "~/.emacs.d/emacs-for-python/epy-init.el") | |
(require `tramp) | |
(load-file "~/.emacs.d/emacs-for-python/epy-pylint.el") | |
(load-file "~/.emacs.d/emacs-for-python/epy-flake8.el") | |
(defun google () | |
"Googles a query or region if any." | |
(interactive) | |
(browse-url | |
(concat | |
"http://www.google.com/search?ie=utf-8&oe=utf-8&q=" | |
(url-hexify-string (if mark-active | |
(buffer-substring (region-beginning) (region-end)) | |
(read-string "Google: ")))))) | |
(global-set-key (kbd "C-x g") 'google) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment