Want more features on Pastebin? Sign Up, it's FREE!
Guest

init

By: a guest on Jan 14th, 2012  |  syntax: Lisp  |  size: 1.43 KB  |  views: 101  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ;; load-path
  2. (add-to-list 'load-path "~/.emacs.d/")
  3.  
  4. ;; starter-kit
  5. (require 'package)
  6. (add-to-list 'package-archives
  7.              '("marmalade" . "http://marmalade-repo.org/packages/") t)
  8. (package-initialize)
  9.  
  10. ;; color-theme
  11. (add-to-list 'load-path
  12.              "~/.emacs.d/elpa/color-theme-6.6.1")
  13.  
  14. (require 'color-theme)
  15. (load "~/.emacs.d/elpa/color-theme-blackboard-0.0.2/color-theme-blackboard.el")
  16. (color-theme-blackboard)
  17.  
  18. ;; linum
  19. (require 'linum)
  20. (global-linum-mode)
  21.  
  22. ;; auto-pair
  23. (require 'autopair)
  24. (autopair-global-mode)
  25.  
  26.  
  27. ;; autocomplete                            
  28. (add-to-list 'load-path "~/.emacs.d")
  29. (require 'auto-complete-config)
  30. (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
  31. (ac-config-default)
  32.  
  33. (require 'auto-complete)
  34. (global-auto-complete-mode t)
  35.  
  36.  
  37. ;; yasnippets non-bundle version
  38. (add-to-list 'load-path
  39.              "~/.emacs.d/elpa/yasnippet-0.6.1")
  40.  
  41. (require 'yasnippet)
  42. (yas/initialize)
  43. (yas/load-directory "~/.emacs.d/elpa/yasnippet-0.6.1/snippets")
  44.  
  45.  
  46. ;; pymacs
  47. (add-to-list 'load-path "~/.emacs.d/vendor/pinard-Pymacs-016b0bc")
  48.  
  49. (autoload 'pymacs-apply "pymacs")
  50. (autoload 'pymacs-call "pymacs")
  51. (autoload 'pymacs-eval "pymacs" nil t)
  52. (autoload 'pymacs-exec "pymacs" nil t)
  53. (autoload 'pymacs-load "pymacs" nil t)
  54.  
  55. ;; ropemacs
  56. (require 'pymacs)
  57. (pymacs-load "ropemacs" "rope-")
  58.  
  59. (setq ropemacs-enable-shortcuts nil)
  60. (setq ropemacs-local-prefix "C-c C-p")
clone this paste RAW Paste Data