Created
October 9, 2016 09:27
-
-
Save tlkahn/aafba7b2e93393564c4ff57185e84e32 to your computer and use it in GitHub Desktop.
init.el
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
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.org/packages/") t) | |
(add-to-list 'package-archives | |
'("marmalade" . "http://marmalade-repo.org/packages/") t) | |
(package-initialize) | |
;;(package-refresh-contents) | |
(require 'ido) | |
(ido-mode t) | |
(global-set-key (kbd "s-<right>") 'move-end-of-line) | |
(global-set-key (kbd "s-<left>") 'move-beginning-of-line) | |
(defun end-of-line-and-indented-new-line () | |
(interactive) | |
(end-of-line) | |
(newline-and-indent)) | |
(global-set-key (kbd "<s-return>") 'end-of-line-and-indented-new-line) | |
(global-set-key (kbd "M-<return>") 'eval-last-sexp) | |
(menu-bar-mode -1) | |
(tool-bar-mode -1) | |
(scroll-bar-mode -1) | |
(add-hook 'before-save-hook 'delete-trailing-whitespace) | |
(set-default-font "sf mono 11") | |
(menu-bar-mode 0) | |
(setq gdb-many-windows 1) | |
(add-to-list 'load-path "/Users/toeinriver/.emacs.d/disaster") | |
(require 'disaster) | |
(global-set-key (kbd "C-c d") 'disaster) | |
(add-to-list 'load-path "/Users/toeinriver/.emacs.d/expand-region.el") | |
(require 'expand-region) | |
(global-set-key (kbd "C-c ;") 'er/expand-region) | |
(global-set-key (kbd "S-s") 'save-buffer) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment