setup-elget.el 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. ;(add-to-list 'load-path "~/.emacs.d/el-get/el-get")
  2. (unless (require 'el-get nil 'noerror)
  3. (with-current-buffer
  4. (url-retrieve-synchronously
  5. "https://raw.github.com/dimitri/el-get/master/el-get-install.el")
  6. (let (el-get-master-branch)
  7. (goto-char (point-max))
  8. (eval-print-last-sexp))))
  9. (mapc (lambda (filename)
  10. (let ((filename (expand-file-name filename el-get-dir)))
  11. (when (file-directory-p filename)
  12. (setq load-path (cons filename load-path)))))
  13. (cddr (directory-files el-get-dir)))
  14. (require 'el-get)
  15. ;; local sources
  16. (setq
  17. el-get-byte-compile t
  18. el-get-generate-autoloads t
  19. el-get-sources
  20. '((:name yasnippet
  21. :website "https://github.com/capitaomorte/yasnippet.git"
  22. :description "YASnippet is a template system for Emacs."
  23. :type github
  24. :pkgname "capitaomorte/yasnippet"
  25. :features "yasnippet"
  26. :compile "yasnippet.el")
  27. (:name "visual-regexp"
  28. :description "Visual regexps"
  29. :type git
  30. :url "https://github.com/benma/visual-regexp.el.git")
  31. (:name "powerline"
  32. :description "Powerline"
  33. :type git
  34. :url "https://github.com/milkypostman/powerline")
  35. (:name "python-django"
  36. :description "Python Django"
  37. :type git
  38. :url "https://github.com/fgallina/python-django.el.git")
  39. (:name "django-python"
  40. :description "Django-Python"
  41. :type git
  42. :url "https://github.com/myfreeweb/django-mode.git")
  43. (:name "emacs-for-python"
  44. :description "emacs-for-python"
  45. :type git
  46. :url "https://github.com/gabrielelanaro/emacs-for-python.git")
  47. (:name "expand-region"
  48. :description "Expand region"
  49. :type git
  50. :url "https://github.com/magnars/expand-region.el.git")
  51. (:name "flycheck"
  52. :description "Flycheck"
  53. :type git
  54. :url "https://github.com/flycheck/flycheck.git")
  55. (:name "multiple-cursors"
  56. :description "Multiple Cursors"
  57. :type git
  58. :url "https://github.com/emacsmirror/multiple-cursors.git")
  59. (:name "pony-mode"
  60. :description "Pony Mode"
  61. :type git
  62. :url "https://github.com/davidmiller/pony-mode")
  63. (:name "Project Explorer"
  64. :description "Project Explorer"
  65. :type git
  66. :url "https://github.com/sabof/project-explorer.git")
  67. (:name "dark-theme"
  68. :description "Dark theme"
  69. :type http
  70. :url "https://raw.github.com/suvayu/.emacs.d/master/themes/dark-emacs-theme.el")
  71. (:name "highlight-sexps"
  72. :description "Highlight sexps"
  73. :type http
  74. :url "http://david.rysdam.org/src/emacs/highlight-sexps.el")
  75. (:name "highlight-parentheses"
  76. :description "Highlight parentheses"
  77. :type git
  78. :url "https://github.com/nschum/highlight-parentheses.el.git")
  79. (:name "hideshowvis"
  80. :description "Hide Show Vis"
  81. :type git
  82. :url "https://github.com/emacsmirror/hideshowvis.git")
  83. (:name "naquadah-theme"
  84. :description "Naquadah theme"
  85. :type git
  86. :url "https://github.com/suhailshergill/naquadah-theme.git")
  87. (:name "kivy-mode"
  88. :description "Kivy highlighting mode"
  89. :type http
  90. :url "https://raw.github.com/kivy/kivy/master/kivy/tools/highlight/kivy-mode.el")
  91. (:name "web-mode"
  92. :description "emacs major mode for html templates"
  93. :type git
  94. :url "https://github.com/fxbois/web-mode.git")
  95. (:name "org-reveal"
  96. :description "reveal.js stuff for orgmode"
  97. :type git
  98. :url "https://github.com/yjwen/org-reveal.git")
  99. (:name "git-modes"
  100. :type git
  101. :url "https://github.com/magit/git-modes.git")
  102. (:name "cyberpunk-theme"
  103. :description "Cyberpunk theme"
  104. :type git
  105. :url "https://github.com/n3mo/cyberpunk-theme.el.git")
  106. ;; (:name asciidoc
  107. ;; :type elpa
  108. ;; :after (lambda ()
  109. ;; (autoload 'doc-mode "doc-mode" nil t)
  110. ;; (add-to-list 'auto-mode-alist '("\\.adoc$" . doc-mode))
  111. ;; (add-hook 'doc-mode-hook '(lambda ()
  112. ;; (turn-on-auto-fill)
  113. ;; (require 'asciidoc)))))
  114. ;(:name lisppaste :type elpa)
  115. ;(:name nxhtml :type elpa)
  116. ;(:name dictionary-el :type apt-get)
  117. ;(:name emacs-goodies-el :type apt-get)
  118. ))
  119. (setq my-packages
  120. (append
  121. '("el-get")
  122. (mapcar 'el-get-source-name el-get-sources)
  123. ;'("magit")
  124. ))
  125. (el-get 'sync my-packages)
  126. (provide 'setup-elget)