Skip to content

Instantly share code, notes, and snippets.

@hyfather
Last active August 29, 2015 14:01
Show Gist options
  • Save hyfather/bcc775d2f4a91b72e538 to your computer and use it in GitHub Desktop.
Save hyfather/bcc775d2f4a91b72e538 to your computer and use it in GitHub Desktop.
my_emacs_init.el
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize)
;; Use Shift + <Arrow Keys> for moving between buffers
(windmove-default-keybindings)
(setq windmove-wrap-around t)
;; Because Shift-Up is broken on xterm
(if (equal "xterm" (tty-type)) (define-key input-decode-map "\e[1;2A" [S-up]))
;; Enable winner-mode at startup
(winner-mode 1)
;; Enable whitespace-mode at startup
(global-whitespace-mode 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment