Skip to content

Instantly share code, notes, and snippets.

@minimal
Created January 4, 2010 14:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minimal/268548 to your computer and use it in GitHub Desktop.
Save minimal/268548 to your computer and use it in GitHub Desktop.
windows emacs
;; windows emacs customisations after using emacs starter kit.
;; font
(custom-set-faces
'(default ((t (:height 115 :width normal :foundry "outline" :family "Lucida Console")))))
;; themes
(add-to-list 'load-path "color-theme.el")
(require 'color-theme)
'(progn
(color-theme-initialize)
(color-theme-hober))
(load-file "C:/Users/chris/AppData/Roaming/.emacs.d/color-theme-6.6.0/themes/color-theme-chocolate-rain.el")
(color-theme-chocolate-rain)
;; bindings
(global-set-key "\r" 'newline-and-indent)
(set-register ?e '(file . "~/.emacs.d/chris.el")) ; 'C-x r j e' opens this file
;;bind the slime selector to f12 and add a method for finding clojure buffers
(define-key global-map (kbd "<f12>") 'slime-selector)
(def-slime-selector-method ?j
"most recently visited clojure-mode buffer."
(slime-recently-visited-buffer 'clojure-mode))
;; move frame focus with alt, not control
;(windmove-default-keybindings 'meta)
;(setq shift-select-mode t)
(load "C:/Users/chris/AppData/Roaming/.emacs.d/smooth-scrolling.el" nil t)
(require 'smooth-scrolling)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment