Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: bbatsov/prelude
base: master
...
head fork: algking/prelude
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 10 commits
  • 1,360 files changed
  • 0 commit comments
  • 1 contributor
Showing with 1,942 additions and 11 deletions.
  1. +0 −1  .gitignore
  2. +3 −0  .gitmodules
  3. +3 −3 core/prelude-mode.el
  4. +4 −3 core/prelude-ui.el
  5. +1 −1  modules/prelude-key-chord.el
  6. +18 −0 modules/prelude-markdown.el
  7. +113 −0 personal/custom.el
  8. +40 −0 personal/prelude-modules.el
  9. +6 −3 sample/prelude-modules.el
  10. +1 −0  snippets/c++-mode/.yas-parents
  11. +4 −0 snippets/c++-mode/beginend
  12. +9 −0 snippets/c++-mode/class
  13. +4 −0 snippets/c++-mode/ns
  14. +4 −0 snippets/c++-mode/template
  15. +5 −0 snippets/c++-mode/using
  16. +1 −0  snippets/c-mode/.yas-parents
  17. +4 −0 snippets/c-mode/fopen
  18. +7 −0 snippets/c-mode/printf
  19. +1 −0  snippets/cc-mode/.yas-parents
  20. +7 −0 snippets/cc-mode/do
  21. +7 −0 snippets/cc-mode/for
  22. +7 −0 snippets/cc-mode/if
  23. +4 −0 snippets/cc-mode/inc
  24. +4 −0 snippets/cc-mode/inc.1
  25. +8 −0 snippets/cc-mode/main
  26. +9 −0 snippets/cc-mode/once
  27. +7 −0 snippets/cc-mode/struct
  28. +1 −0  snippets/cperl-mode/.yas-parents
  29. +1 −0  snippets/csharp-mode/.yas-parents
  30. +8 −0 snippets/csharp-mode/attrib
  31. +22 −0 snippets/csharp-mode/attrib.1
  32. +22 −0 snippets/csharp-mode/attrib.2
  33. +22 −0 snippets/csharp-mode/class
  34. +7 −0 snippets/csharp-mode/comment
  35. +5 −0 snippets/csharp-mode/comment.1
  36. +5 −0 snippets/csharp-mode/comment.2
  37. +5 −0 snippets/csharp-mode/comment.3
  38. +11 −0 snippets/csharp-mode/method
  39. +8 −0 snippets/csharp-mode/namespace
  40. +17 −0 snippets/csharp-mode/prop
  41. +7 −0 snippets/csharp-mode/region
  42. +5 −0 snippets/csharp-mode/using
  43. +5 −0 snippets/csharp-mode/using.1
  44. +5 −0 snippets/csharp-mode/using.2
  45. +1 −0  snippets/css-mode/.yas-parents
  46. +4 −0 snippets/css-mode/bg
  47. +4 −0 snippets/css-mode/bg.1
  48. +4 −0 snippets/css-mode/bor
  49. +5 −0 snippets/css-mode/cl
  50. +5 −0 snippets/css-mode/disp.block
  51. +5 −0 snippets/css-mode/disp.inline
  52. +5 −0 snippets/css-mode/disp.none
  53. +5 −0 snippets/css-mode/ff
  54. +5 −0 snippets/css-mode/fs
  55. +5 −0 snippets/css-mode/mar.bottom
  56. +5 −0 snippets/css-mode/mar.left
  57. +5 −0 snippets/css-mode/mar.mar
  58. +5 −0 snippets/css-mode/mar.margin
  59. +5 −0 snippets/css-mode/mar.right
  60. +5 −0 snippets/css-mode/mar.top
  61. +5 −0 snippets/css-mode/pad.bottom
  62. +5 −0 snippets/css-mode/pad.left
  63. +5 −0 snippets/css-mode/pad.pad
  64. +5 −0 snippets/css-mode/pad.padding
  65. +5 −0 snippets/css-mode/pad.right
  66. +5 −0 snippets/css-mode/pad.top
  67. +7 −0 snippets/emacs-lisp-mode/.read_me
  68. +1 −0  snippets/emacs-lisp-mode/.yas-parents
  69. +6 −0 snippets/emacs-lisp-mode/add-hook.yasnippet
  70. +6 −0 snippets/emacs-lisp-mode/and.yasnippet
  71. +5 −0 snippets/emacs-lisp-mode/append.yasnippet
  72. +5 −0 snippets/emacs-lisp-mode/apply.yasnippet
  73. +5 −0 snippets/emacs-lisp-mode/aref.yasnippet
  74. +5 −0 snippets/emacs-lisp-mode/aset.yasnippet
  75. +5 −0 snippets/emacs-lisp-mode/assq.yasnippet
  76. +5 −0 snippets/emacs-lisp-mode/autoload.yasnippet
  77. +6 −0 snippets/emacs-lisp-mode/backward-char.yasnippet
  78. +6 −0 snippets/emacs-lisp-mode/beginning-of-line.yasnippet
  79. +6 −0 snippets/emacs-lisp-mode/bounds-of-thing-at-point.yasnippet
  80. +6 −0 snippets/emacs-lisp-mode/buffer-file-name.yasnippet
  81. +6 −0 snippets/emacs-lisp-mode/buffer-modified-p.yasnippet
  82. +6 −0 snippets/emacs-lisp-mode/buffer-substring-no-properties.yasnippet
  83. +6 −0 snippets/emacs-lisp-mode/buffer-substring.yasnippet
  84. +5 −0 snippets/emacs-lisp-mode/car.yasnippet
  85. +5 −0 snippets/emacs-lisp-mode/cdr.yasnippet
  86. +5 −0 snippets/emacs-lisp-mode/concat.yasnippet
  87. +8 −0 snippets/emacs-lisp-mode/cond.yasnippet
  88. +6 −0 snippets/emacs-lisp-mode/condition-case.yasnippet
  89. +5 −0 snippets/emacs-lisp-mode/cons.yasnippet
  90. +5 −0 snippets/emacs-lisp-mode/consp.yasnippet
  91. +6 −0 snippets/emacs-lisp-mode/copy-directory.yasnippet
  92. +6 −0 snippets/emacs-lisp-mode/copy-file.yasnippet
  93. +6 −0 snippets/emacs-lisp-mode/current-buffer.yasnippet
  94. +6 −0 snippets/emacs-lisp-mode/custom-autoload.yasnippet
  95. +5 −0 snippets/emacs-lisp-mode/defalias.yasnippet
  96. +5 −0 snippets/emacs-lisp-mode/defcustom.yasnippet
  97. +6 −0 snippets/emacs-lisp-mode/define-key.yasnippet
  98. +5 −0 snippets/emacs-lisp-mode/defsubst.yasnippet
  99. +12 −0 snippets/emacs-lisp-mode/defun.yasnippet
  100. +5 −0 snippets/emacs-lisp-mode/defvar.yasnippet
  101. +6 −0 snippets/emacs-lisp-mode/delete-char.yasnippet
  102. +6 −0 snippets/emacs-lisp-mode/delete-directory.yasnippet
  103. +6 −0 snippets/emacs-lisp-mode/delete-file.yasnippet
  104. +6 −0 snippets/emacs-lisp-mode/delete-region.yasnippet
  105. +6 −0 snippets/emacs-lisp-mode/directory-files.yasnippet
  106. +5 −0 snippets/emacs-lisp-mode/dolist.yasnippet
  107. +6 −0 snippets/emacs-lisp-mode/end-of-line.yasnippet
  108. +5 −0 snippets/emacs-lisp-mode/eq.yasnippet
  109. +5 −0 snippets/emacs-lisp-mode/equal.yasnippet
  110. +5 −0 snippets/emacs-lisp-mode/error.yasnippet
  111. +6 −0 snippets/emacs-lisp-mode/expand-file-name.yasnippet
  112. +5 −0 snippets/emacs-lisp-mode/f.yasnippet
  113. +5 −0 snippets/emacs-lisp-mode/fboundp.yasnippet
  114. +6 −0 snippets/emacs-lisp-mode/file-name-directory.yasnippet
  115. +6 −0 snippets/emacs-lisp-mode/file-name-extension.yasnippet
  116. +6 −0 snippets/emacs-lisp-mode/file-name-nondirectory.yasnippet
  117. +6 −0 snippets/emacs-lisp-mode/file-name-sans-extension.yasnippet
  118. +6 −0 snippets/emacs-lisp-mode/file-relative-name.yasnippet
  119. +6 −0 snippets/emacs-lisp-mode/find-file.yasnippet
  120. +5 −0 snippets/emacs-lisp-mode/format.yasnippet
  121. +6 −0 snippets/emacs-lisp-mode/forward-char.yasnippet
  122. +6 −0 snippets/emacs-lisp-mode/forward-line.yasnippet
  123. +5 −0 snippets/emacs-lisp-mode/funcall.yasnippet
  124. +5 −0 snippets/emacs-lisp-mode/function.yasnippet
  125. +5 −0 snippets/emacs-lisp-mode/get.yasnippet
  126. +6 −0 snippets/emacs-lisp-mode/global-set-key.yasnippet
  127. +6 −0 snippets/emacs-lisp-mode/goto-char.yasnippet
  128. +5 −0 snippets/emacs-lisp-mode/if.yasnippet
  129. +6 −0 snippets/emacs-lisp-mode/insert-file-contents.yasnippet
  130. +6 −0 snippets/emacs-lisp-mode/insert.yasnippet
  131. +5 −0 snippets/emacs-lisp-mode/interactive.yasnippet
  132. +5 −0 snippets/emacs-lisp-mode/kbd.yasnippet
  133. +6 −0 snippets/emacs-lisp-mode/kill-buffer.yasnippet
  134. +5 −0 snippets/emacs-lisp-mode/lambda.yasnippet
  135. +5 −0 snippets/emacs-lisp-mode/length.yasnippet
  136. +8 −0 snippets/emacs-lisp-mode/let.yasnippet
  137. +6 −0 snippets/emacs-lisp-mode/line-beginning-position.yasnippet
  138. +6 −0 snippets/emacs-lisp-mode/line-end-position.yasnippet
  139. +5 −0 snippets/emacs-lisp-mode/list.yasnippet
  140. +6 −0 snippets/emacs-lisp-mode/looking-at.yasnippet
  141. +6 −0 snippets/emacs-lisp-mode/make-directory.yasnippet
  142. +6 −0 snippets/emacs-lisp-mode/make-local-variable.yasnippet
  143. +5 −0 snippets/emacs-lisp-mode/mapc.yasnippet
  144. +5 −0 snippets/emacs-lisp-mode/mapcar.yasnippet
  145. +6 −0 snippets/emacs-lisp-mode/match-beginning.yasnippet
  146. +6 −0 snippets/emacs-lisp-mode/match-end.yasnippet
  147. +6 −0 snippets/emacs-lisp-mode/match-string.yasnippet
  148. +5 −0 snippets/emacs-lisp-mode/memq.yasnippet
  149. +6 −0 snippets/emacs-lisp-mode/message.yasnippet
  150. +6 −0 snippets/emacs-lisp-mode/not.yasnippet
  151. +5 −0 snippets/emacs-lisp-mode/nth.yasnippet
  152. +5 −0 snippets/emacs-lisp-mode/null.yasnippet
  153. +6 −0 snippets/emacs-lisp-mode/number-to-string.yasnippet
  154. +6 −0 snippets/emacs-lisp-mode/or.yasnippet
  155. +5 −0 snippets/emacs-lisp-mode/point-max.yasnippet
  156. +6 −0 snippets/emacs-lisp-mode/point-min.yasnippet
  157. +6 −0 snippets/emacs-lisp-mode/point.yasnippet
  158. +5 −0 snippets/emacs-lisp-mode/princ.yasnippet
  159. +5 −0 snippets/emacs-lisp-mode/print.yasnippet
  160. +5 −0 snippets/emacs-lisp-mode/progn.yasnippet
  161. +5 −0 snippets/emacs-lisp-mode/push.yasnippet
  162. +5 −0 snippets/emacs-lisp-mode/put.yasnippet
  163. +6 −0 snippets/emacs-lisp-mode/re-search-backward.yasnippet
  164. +6 −0 snippets/emacs-lisp-mode/re-search-forward.yasnippet
  165. +6 −0 snippets/emacs-lisp-mode/region-active-p.yasnippet
  166. +6 −0 snippets/emacs-lisp-mode/region-beginning.yasnippet
  167. +6 −0 snippets/emacs-lisp-mode/region-end.yasnippet
  168. +6 −0 snippets/emacs-lisp-mode/rename-file.yasnippet
  169. +5 −0 snippets/emacs-lisp-mode/repeat.yasnippet
  170. +6 −0 snippets/emacs-lisp-mode/replace-regexp-in-string.yasnippet
  171. +6 −0 snippets/emacs-lisp-mode/replace-regexp.yasnippet
  172. +5 −0 snippets/emacs-lisp-mode/require.yasnippet
  173. +6 −0 snippets/emacs-lisp-mode/save-buffer.yasnippet
  174. +6 −0 snippets/emacs-lisp-mode/save-excursion.yasnippet
  175. +6 −0 snippets/emacs-lisp-mode/search-backward-regexp.yasnippet
  176. +6 −0 snippets/emacs-lisp-mode/search-backward.yasnippet
  177. +6 −0 snippets/emacs-lisp-mode/search-forward-regexp.yasnippet
  178. +6 −0 snippets/emacs-lisp-mode/search-forward.yasnippet
  179. +6 −0 snippets/emacs-lisp-mode/set-buffer.yasnippet
  180. +6 −0 snippets/emacs-lisp-mode/set-file-modes.yasnippet
  181. +6 −0 snippets/emacs-lisp-mode/set-mark.yasnippet
  182. +5 −0 snippets/emacs-lisp-mode/set.yasnippet
  183. +6 −0 snippets/emacs-lisp-mode/setq.yasnippet
  184. +6 −0 snippets/emacs-lisp-mode/skip-chars-backward.yasnippet
  185. +6 −0 snippets/emacs-lisp-mode/skip-chars-forward.yasnippet
  186. +6 −0 snippets/emacs-lisp-mode/split-string.yasnippet
  187. +6 −0 snippets/emacs-lisp-mode/string-match.yasnippet
  188. +6 −0 snippets/emacs-lisp-mode/string-to-number.yasnippet
  189. +5 −0 snippets/emacs-lisp-mode/string.yasnippet
  190. +5 −0 snippets/emacs-lisp-mode/string=.yasnippet
  191. +5 −0 snippets/emacs-lisp-mode/stringp.yasnippet
  192. +5 −0 snippets/emacs-lisp-mode/substring.yasnippet
  193. +6 −0 snippets/emacs-lisp-mode/thing-at-point.yasnippet
  194. +5 −0 snippets/emacs-lisp-mode/unless.yasnippet
  195. +6 −0 snippets/emacs-lisp-mode/vector.yasnippet
  196. +5 −0 snippets/emacs-lisp-mode/when.yasnippet
  197. +5 −0 snippets/emacs-lisp-mode/while.yasnippet
  198. +6 −0 snippets/emacs-lisp-mode/widget-get.yasnippet
  199. +6 −0 snippets/emacs-lisp-mode/with-current-buffer.yasnippet
  200. +17 −0 snippets/emacs-lisp-mode/x-dired.process_marked.yasnippet
  201. +18 −0 snippets/emacs-lisp-mode/x-file.process.yasnippet
  202. +18 −0 snippets/emacs-lisp-mode/x-file.read-lines.yasnippet
  203. +18 −0 snippets/emacs-lisp-mode/x-find-replace.yasnippet
  204. +5 −0 snippets/emacs-lisp-mode/x-grabstring.yasnippet
  205. +5 −0 snippets/emacs-lisp-mode/x-grabthing.yasnippet
  206. +7 −0 snippets/emacs-lisp-mode/x-traverse_dir.yasnippet
  207. +28 −0 snippets/emacs-lisp-mode/x-word-or-region.yasnippet
  208. +6 −0 snippets/emacs-lisp-mode/y-or-n-p.yasnippet
  209. +5 −0 snippets/emacs-lisp-mode/yes-or-no-p.yasnippet
  210. +1 −0  snippets/erlang-mode/.yas-parents
  211. +5 −0 snippets/erlang-mode/ERROR_MSG
  212. +5 −0 snippets/erlang-mode/after
  213. +6 −0 snippets/erlang-mode/begin
  214. +5 −0 snippets/erlang-mode/beh
  215. +6 −0 snippets/erlang-mode/case
  216. +10 −0 snippets/erlang-mode/case.catch
  217. +9 −0 snippets/erlang-mode/comment
  218. +5 −0 snippets/erlang-mode/compile
  219. +5 −0 snippets/erlang-mode/def
  220. +11 −0 snippets/erlang-mode/doc
  221. +6 −0 snippets/erlang-mode/exp
  222. +4 −0 snippets/erlang-mode/fun
  223. +14 −0 snippets/erlang-mode/handle
  224. +7 −0 snippets/erlang-mode/if
  225. +6 −0 snippets/erlang-mode/ifdef
  226. +6 −0 snippets/erlang-mode/ifndef
  227. +6 −0 snippets/erlang-mode/imp
  228. +5 −0 snippets/erlang-mode/inc
  229. +5 −0 snippets/erlang-mode/inc.lib
  230. +9 −0 snippets/erlang-mode/loop
  231. +7 −0 snippets/erlang-mode/mod
  232. +6 −0 snippets/erlang-mode/rcv
  233. +7 −0 snippets/erlang-mode/rcv.after
  234. +5 −0 snippets/erlang-mode/rec
  235. +8 −0 snippets/erlang-mode/try
  236. +5 −0 snippets/erlang-mode/undef
  237. +1 −0  snippets/f90-mode/.yas-parents
  238. +5 −0 snippets/f90-mode/au
  239. +5 −0 snippets/f90-mode/bd
  240. +5 −0 snippets/f90-mode/c
  241. +5 −0 snippets/f90-mode/ch
  242. +5 −0 snippets/f90-mode/cx
  243. +5 −0 snippets/f90-mode/dc
  244. +7 −0 snippets/f90-mode/do
  245. +5 −0 snippets/f90-mode/dp
  246. +5 −0 snippets/f90-mode/eq
  247. +5 −0 snippets/f90-mode/ib
  248. +5 −0 snippets/f90-mode/ic
  249. +5 −0 snippets/f90-mode/ich
  250. +7 −0 snippets/f90-mode/if
  251. +5 −0 snippets/f90-mode/ii
  252. +5 −0 snippets/f90-mode/il
  253. +5 −0 snippets/f90-mode/in
  254. +5 −0 snippets/f90-mode/inc
  255. +5 −0 snippets/f90-mode/intr
  256. +5 −0 snippets/f90-mode/ir
  257. +5 −0 snippets/f90-mode/l
  258. +5 −0 snippets/f90-mode/pa
  259. +7 −0 snippets/f90-mode/pr
  260. +5 −0 snippets/f90-mode/re
  261. +5 −0 snippets/f90-mode/st
  262. +5 −0 snippets/f90-mode/su
  263. +5 −0 snippets/f90-mode/wr
  264. 0  snippets/html-mode/.yas-make-groups
  265. +1 −0  snippets/html-mode/.yas-parents
  266. +5 −0 snippets/html-mode/b.yasnippet
  267. +7 −0 snippets/html-mode/body
  268. +5 −0 snippets/html-mode/br
  269. +7 −0 snippets/html-mode/code
  270. +7 −0 snippets/html-mode/code.class
  271. +4 −0 snippets/html-mode/div
  272. +7 −0 snippets/html-mode/div.class
  273. +7 −0 snippets/html-mode/div.id
  274. +7 −0 snippets/html-mode/div.id-class
  275. +12 −0 snippets/html-mode/dov
  276. +7 −0 snippets/html-mode/form
  277. +7 −0 snippets/html-mode/head
  278. +5 −0 snippets/html-mode/header/h1
  279. +5 −0 snippets/html-mode/header/h2
  280. +5 −0 snippets/html-mode/header/h3
  281. +5 −0 snippets/html-mode/header/h4
  282. +5 −0 snippets/html-mode/header/h5
  283. +5 −0 snippets/html-mode/header/h6
  284. +5 −0 snippets/html-mode/hr
  285. +5 −0 snippets/html-mode/href
  286. +7 −0 snippets/html-mode/html
  287. +7 −0 snippets/html-mode/html.xmlns
  288. +5 −0 snippets/html-mode/i.yasnippet
  289. +5 −0 snippets/html-mode/img
  290. +5 −0 snippets/html-mode/input
  291. +5 −0 snippets/html-mode/link.stylesheet
  292. +7 −0 snippets/html-mode/link.stylesheet-ie
  293. +5 −0 snippets/html-mode/list/dd
  294. +7 −0 snippets/html-mode/list/dl
  295. +7 −0 snippets/html-mode/list/dl.id
  296. +5 −0 snippets/html-mode/list/dt
  297. +5 −0 snippets/html-mode/list/li
  298. +5 −0 snippets/html-mode/list/li.class
  299. +7 −0 snippets/html-mode/list/ol
  300. +7 −0 snippets/html-mode/list/ol.class
Sorry, we could not display the entire diff because too many files (1,360) changed.
View
1  .gitignore
@@ -11,7 +11,6 @@ semanticdb
url
ede-projects.el
.DS_Store
-custom.el
places
.smex-items
savefile/
View
3  .gitmodules
@@ -0,0 +1,3 @@
+[submodule "yasnippet-php-mode"]
+ path = yasnippet-php-mode
+ url = https://github.com/barendt/yasnippet-php-mode.git
View
6 core/prelude-mode.el
@@ -38,7 +38,7 @@
(define-key map (kbd "C-c o") 'prelude-open-with)
(define-key map (kbd "C-c g") 'prelude-google)
(define-key map (kbd "C-c G") 'prelude-github)
- (define-key map (kbd "C-c y") 'prelude-youtube)
+ ;; (define-key map (kbd "C-c y") 'prelude-youtube)
(define-key map (kbd "C-c U") 'prelude-duckduckgo)
;; mimic popular IDEs binding, note that it doesn't work in a terminal session
(define-key map [(shift return)] 'prelude-smart-open-line)
@@ -52,7 +52,7 @@
(define-key map (kbd "C-c f") 'prelude-recentf-ido-find-file)
(define-key map (kbd "C-M-z") 'prelude-indent-defun)
(define-key map (kbd "C-c u") 'prelude-view-url)
- (define-key map (kbd "C-c e") 'prelude-eval-and-replace)
+ (define-key map (kbd "C-c C-e") 'prelude-eval-and-replace)
(define-key map (kbd "C-c s") 'prelude-swap-windows)
(define-key map (kbd "C-c D") 'prelude-delete-file-and-buffer)
(define-key map (kbd "C-c d") 'prelude-duplicate-current-line-or-region)
@@ -63,7 +63,7 @@
(define-key map (kbd "C-c TAB") 'prelude-indent-rigidly-and-copy-to-clipboard)
(define-key map (kbd "C-c I") 'prelude-find-user-init-file)
(define-key map (kbd "C-c S") 'prelude-find-shell-init-file)
- (define-key map (kbd "C-c i") 'prelude-goto-symbol)
+ ;; (define-key map (kbd "C-c i") 'prelude-goto-symbol)
;; extra prefix for projectile
(define-key map (kbd "s-p") 'projectile-command-map)
;; make some use of the Super key
View
7 core/prelude-ui.el
@@ -73,7 +73,8 @@
"%b"))))
;; use zenburn as the default theme
-(load-theme prelude-theme t)
-
+;; (load-theme 'zenburn t)
+(load-theme 'solarized-light t)
+;; (load-theme prelude-theme t)
(provide 'prelude-ui)
-;;; prelude-ui.el ends here
+
View
2  modules/prelude-key-chord.el
@@ -35,7 +35,7 @@
(require 'key-chord)
-(key-chord-define-global "jj" 'ace-jump-word-mode)
+(key-chord-define-global "cc" 'ace-jump-word-mode)
(key-chord-define-global "jl" 'ace-jump-line-mode)
(key-chord-define-global "jk" 'ace-jump-char-mode)
(key-chord-define-global "JJ" 'prelude-switch-to-previous-buffer)
View
18 modules/prelude-markdown.el
@@ -0,0 +1,18 @@
+(prelude-ensure-module-deps '(markdown-mode))
+
+(setq markdown-imenu-generic-expression
+ '(("title" "^\\(.*\\)[\n]=+$" 1)
+ ("h2-" "^\\(.*\\)[\n]-+$" 1)
+ ("h1" "^# \\(.*\\)$" 1)
+ ("h2" "^## \\(.*\\)$" 1)
+ ("h3" "^### \\(.*\\)$" 1)
+ ("h4" "^#### \\(.*\\)$" 1)
+ ("h5" "^##### \\(.*\\)$" 1)
+ ("h6" "^###### \\(.*\\)$" 1)
+ ("fn" "^\\[\\^\\(.*\\)\\]" 1)))
+
+(add-hook 'markdown-mode-hook
+ (lambda ()
+ (setq imenu-generic-expression markdown-imenu-generic-expression)))
+
+(provide 'prelude-markdown)
View
113 personal/custom.el
@@ -0,0 +1,113 @@
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(ac-auto-show-menu 0.1)
+ '(ac-modes (quote (shell-mode erlang-shell-mode emacs-lisp-mode lisp-mode lisp-interaction-mode slime-repl-mode c-mode cc-mode c++-mode go-mode java-mode malabar-mode clojure-mode clojurescript-mode scala-mode scheme-mode ocaml-mode tuareg-mode coq-mode haskell-mode agda-mode agda2-mode perl-mode cperl-mode python-mode ruby-mode lua-mode ecmascript-mode javascript-mode js-mode js2-mode php-mode css-mode makefile-mode sh-mode fortran-mode f90-mode ada-mode xml-mode sgml-mode ts-mode sclang-mode erlang-mode)))
+ '(ahs-modes (quote (actionscript-mode apache-mode bat-generic-mode c++-mode c-mode csharp-mode css-mode dos-mode emacs-lisp-mode html-mode ini-generic-mode java-mode javascript-mode js-mode lisp-interaction-mode lua-mode latex-mode makefile-mode makefile-gmake-mode markdown-mode moccur-edit-mode nxml-mode nxhtml-mode outline-mode perl-mode cperl-mode php-mode python-mode rc-generic-mode reg-generic-mode ruby-mode sgml-mode sh-mode squirrel-mode text-mode tcl-mode visual-basic-mode erlang-mode js2-mode)))
+ '(ansi-color-faces-vector [default bold shadow italic underline bold bold-italic bold])
+ '(ansi-color-names-vector ["#242424" "#e5786d" "#95e454" "#cae682" "#8ac6f2" "#333366" "#ccaa8f" "#f6f3e8"])
+ '(blink-cursor-mode nil)
+ '(c-default-style (quote ((c-mode . "") (java-mode . "java") (awk-mode . "awk") (other . "gnu"))))
+ '(c-mode-common-hook (quote (ac-cc-mode-setup (lambda nil (run-hooks (quote prelude-c-mode-common-hook))))) t)
+ '(cedet-java-jdk-root (getenv "JAVA_HOME"))
+ '(column-number-mode t)
+ '(company-auto-complete t)
+ '(company-idle-delay 0.5)
+ '(company-minimum-prefix-length 1)
+ '(compilation-message-face (quote default))
+ '(cua-global-mark-cursor-color "#2aa198")
+ '(cua-normal-cursor-color "#657b83")
+ '(cua-overwrite-cursor-color "#b58900")
+ '(cua-read-only-cursor-color "#859900")
+ '(custom-safe-themes (quote ("d677ef584c6dfc0697901a44b885cc18e206f05114c8a3b7fde674fce6180879" "8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" "bb08c73af94ee74453c90422485b29e5643b73b05e8de029a6909af6a3fb3f58" "3b819bba57a676edf6e4881bd38c777f96d1aa3b3b5bc21d8266fa5b0d0f1ebf" "36a309985a0f9ed1a0c3a69625802f87dee940767c9e200b89cdebdb737e5b29" "bf7ed640479049f1d74319ed004a9821072c1d9331bc1147e01d22748c18ebdf" "93815fc47d9324a7761b56754bc46cd8b8544a60fca513e634dfa16b8c761400" "9eadf04efa3cb49960dfed1e4b9cdf4493e5c0b81a81368098dec14310853013" "1eaa502643bd2e379a91a514e69df3e262d85e7e78d6ee623aca7272d4b253c9" default)))
+ '(diary-date-forms (quote ((month "/" day "[^/0-9]") (month "/" day "/" year "[^0-9]") (dayname "\\W") (nil "*** " year "-" month "-" day " *"))))
+ '(diary-file "~/note/diary.org")
+ '(dired-listing-switches "-alh")
+ '(ede-project-directories (quote ("/Users/algking/php-workspace/petsns1" "/home/algking/4399/note")))
+ '(fci-rule-color "#383838")
+ '(flycheck-c/c++-gcc-executable "/usr/local/bin/gcc-4.8")
+ '(flycheck-clang-include-path nil)
+ '(flycheck-html-tidy-executable "/opt/local/bin/tidy")
+ '(global-auto-complete-mode nil)
+ '(global-auto-highlight-symbol-mode t)
+ '(global-flycheck-mode t nil (flycheck))
+ '(global-hl-line-sticky-flag nil)
+ '(global-semantic-mru-bookmark-mode nil)
+ '(grep-command "grep -r --exclude-dir=\\.svn -nH -e ")
+ '(grep-find-command (quote ("find . -type f -name \"*.erl\" -exec grep -nH -e {} +" . 48)))
+ '(grep-find-ignored-files (quote (".#*" "*.beam" "*.vee" "*.jam" "*.o" "*~" "*.bin" "*.lbin" "*.so" "*.a" "*.ln" "*.blg" "*.bbl" "*.elc" "*.lof" "*.glo" "*.idx" "*.lot" "*.fmt" "*.tfm" "*.class" "*.fas" "*.lib" "*.mem" "*.x86f" "*.sparcf" "*.dfsl" "*.pfsl" "*.d64fsl" "*.p64fsl" "*.lx64fsl" "*.lx32fsl" "*.dx64fsl" "*.dx32fsl" "*.fx64fsl" "*.fx32fsl" "*.sx64fsl" "*.sx32fsl" "*.wx64fsl" "*.wx32fsl" "*.fasl" "*.ufsl" "*.fsl" "*.dxl" "*.lo" "*.la" "*.gmo" "*.mo" "*.toc" "*.aux" "*.cp" "*.fn" "*.ky" "*.pg" "*.tp" "*.vr" "*.cps" "*.fns" "*.kys" "*.pgs" "*.tps" "*.vrs" "*.pyc" "*.pyo" "*.svn")))
+ '(grep-find-template "find . <X> -type f <F> -exec grep <C> -nH -e <R> {} +")
+ '(haskell-mode-hook (quote (turn-on-haskell-indent turn-on-haskell-indentation turn-on-eldoc-mode turn-on-haskell-doc-mode company-mode)))
+ '(haskell-stylish-on-save t)
+ '(helm-full-frame t)
+ '(helm-mode t)
+ '(highlight-changes-colors (quote ("#d33682" "#6c71c4")))
+ '(highlight-symbol-colors (--map (solarized-color-blend it "#fdf6e3" 0.25) (quote ("#b58900" "#2aa198" "#dc322f" "#6c71c4" "#859900" "#cb4b16" "#268bd2"))))
+ '(highlight-symbol-foreground-color "#586e75")
+ '(highlight-tail-colors (quote (("#eee8d5" . 0) ("#B4C342" . 20) ("#69CABF" . 30) ("#69B7F0" . 50) ("#DEB542" . 60) ("#F2804F" . 70) ("#F771AC" . 85) ("#eee8d5" . 100))))
+ '(ignoramus-file-basename-exact-names (quote ("$RECYCLE.BIN" ".AppleDouble" ".DS_Store" ".DocumentRevisions-V100" ".LSOverride" ".Rhistory" ".Spotlight-V100" ".TemporaryItems" ".Trashes" ".actionScriptProperties" ".apt_generated" ".build" ".buildpath" ".builds" ".bzr" ".cdv" ".classpath" ".com.apple.timemachine.donotpresent" ".com.apple.timemachine.supported" ".coverage" ".cproject" ".directory" ".dropbox" ".dropbox.cache" ".emacs.desktop" ".emacs.desktop.lock" ".eunit" ".externalToolBuilders" ".flexProperties" ".fseventsd" ".git" ".hg" ".idea" ".ido.last" ".last_cover_stats" ".lein-deps-sum" ".loadpath" ".netrwhist" ".org-id-locations" ".pc" ".project" ".projectile" ".recentf" ".redcar" ".rspec" ".sass-cache" ".scala_dependencies" ".svn" ".tox" ".wmncach.el" ".yardoc" "_MTN" "__history" "_build" "_cgo_defun.c" "_cgo_gotypes.go" "_darcs" "_obj" "_sgbak" "_site" "_test" "_testmain.go" "_yardoc" "aclocal.m4" "auto-save-list" "autom4te.cache" "bin-debug" "bin-release" "blib" "build" "Build" "Build.bat" "COMMIT_EDITMSG" "cmake_install.cmake" "CMakeCache.txt" "CMakeFiles" "cover_db" "cscope.csd" "cscope.files" "cscope.inc" "cscope.lst" "cscope.out" "cscope.out.po" "cscope.tmplist" "CVS" "Debug" "debug" "depcomp" "DerivedData" "Desktop.ini" "ehthumbs.db" "git-rebase-todo" "gwt-unitCache" "gwt_bree" "install-sh" "install_manifest.txt" "InstalledFiles" "Makefile.in" "Makefile.old" "MCVS" "META.yml" "MERGE_MSG" "minimal-session-saver-data.el" "MYMETA.yml" "nbbuild" "nbdist" "nosetests.xml" "nytprof" "nytprof.out" "perltidy.ERR" "pm_to_blib" "Profile" "profile" "RCS" "Release" "release" "SCCS" "Session.vim" "slprj" "SQUASH_MSG" "TAGS" "tags" "TestResult" "testresult" "Thumbs.db" "tmtags" "xcuserdata" "xhtml-loader.rnc" "{arch}" "~.dep" "~.dot" "~.nib" "~.plst" "test.out" "test_out" "test.output" "test_output" ".beam" "ebin")))
+ '(jde-jdk-registry (quote (("1.7.0" . "/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home"))))
+ '(jde-sourcepath (quote ("/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/src")))
+ '(kept-new-versions 5)
+ '(mac-option-modifier (quote super))
+ '(magit-diff-use-overlays nil)
+ '(magit-emacsclient-executable "/usr/local/bin/emacsclient")
+ '(magit-use-overlays nil)
+ '(malabar-groovy-java-command "/usr/bin/java")
+ '(ns-auto-hide-menu-bar t)
+ '(org-agenda-diary-file "~/note/diary.org")
+ '(org-agenda-files (quote ("~/note/project.org" "~/note/learn.org" "~/note/note.org" "~/note/life.org" "~/note/task.org")))
+ '(org-capture-templates (quote (("l" "life schedule" entry (file+datetree "~/note/life.org") "* TODO %^{Description} Added:%T %^g
+ %?") ("n" "笔记" entry (file "~/note/note.org") "** %^{Note} Added:%T
+ %? ") ("t" "一般的任务" entry (file+datetree "~/note/task.org") "* TODO %^{Description} Added:%T %^g
+ %?") ("p" "项目" entry (file+olp "~/note/project.org" "evermind") "* TODO %^{Description} Added:%T %^g
+ %?") ("s" "学习" entry (file+olp "~/note/learn.org" "编程") "* TODO %^{Description} Added:%T %^g
+ %?"))))
+ '(org-directory "~/note")
+ '(org-image-actual-width (quote (400)) t)
+ '(org-mobile-directory "~/note")
+ '(org-mobile-encryption-password "ALG*lin*123")
+ '(org-modules (quote (org-bbdb org-bibtex org-docview org-gnus org-habit org-info org-irc org-mhe org-rmail org-w3m)))
+ '(org-todo-keywords (quote ((sequence "TODO(t)" "WAIT(w@/!)" "|" "DONE(d!)" "CANCELED(c@)"))))
+ '(php-boris-command "/Users/algking/php-workspace/petsns3/vendor/d11wtq/boris/bin/boris")
+ '(prelude-whitespace nil)
+ '(projectile-tags-command "find . -name \"*.php\" -print | etags -")
+ '(projectile-use-native-indexing nil)
+ '(quack-default-program "mit-scheme")
+ '(quack-programs (quote ("mzscheme" "bigloo" "csi" "csi -hygienic" "gosh" "gracket" "gsi" "gsi ~~/syntax-case.scm -" "guile" "kawa" "mit-scheme" "racket" "racket -il typed/racket" "rs" "scheme" "scheme48" "scsh" "sisc" "stklos" "sxi")))
+ '(safe-local-variable-values (quote ((require-final-newline . t) (emacs-lisp-docstring-fill-column . 75))))
+ '(scroll-bar-mode nil)
+ '(semantic-java-dependency-system-include-path (quote ("/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/src")))
+ '(semanticdb-javap-classpath (quote ("/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home/jre/lib/rt.jar")))
+ '(server-mode t)
+ '(session-use-package t nil (session))
+ '(show-paren-mode t)
+ '(size-indication-mode t)
+ '(smartparens-global-mode t)
+ '(smartrep-mode-line-active-bg (solarized-color-blend "#859900" "#eee8d5" 0.2))
+ '(tab-width 4)
+ '(tags-table-list (quote ("/Users/algking/php-workspace/petsns1/TAGS")))
+ '(term-default-bg-color "#fdf6e3")
+ '(term-default-fg-color "#657b83")
+ '(tool-bar-mode nil)
+ '(vc-annotate-background "#2B2B2B")
+ '(vc-annotate-color-map (quote ((20 . "#BC8383") (40 . "#CC9393") (60 . "#DFAF8F") (80 . "#D0BF8F") (100 . "#E0CF9F") (120 . "#F0DFAF") (140 . "#5F7F5F") (160 . "#7F9F7F") (180 . "#8FB28F") (200 . "#9FC59F") (220 . "#AFD8AF") (240 . "#BFEBBF") (260 . "#93E0E3") (280 . "#6CA0A3") (300 . "#7CB8BB") (320 . "#8CD0D3") (340 . "#94BFF3") (360 . "#DC8CC3"))))
+ '(vc-annotate-very-old-color "#DC8CC3")
+ '(weechat-color-list (quote (unspecified "#fdf6e3" "#eee8d5" "#990A1B" "#dc322f" "#546E00" "#859900" "#7B6000" "#b58900" "#00629D" "#268bd2" "#93115C" "#d33682" "#00736F" "#2aa198" "#657b83" "#839496")))
+ '(whitespace-global-modes nil)
+ '(whitespace-mode nil t)
+ '(wrangler-search-paths (quote ("/home/algking/Tools/erl-workspace/mochiweb/")))
+ '(yas-snippet-dirs (quote ("~/.emacs.d/prelude-back/snippets/")) nil (yasnippet)))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(default ((t (:family "Ubuntu Mono" :foundry "unknown" :slant normal :weight normal :height 113 :width normal))))
+ '(flycheck-error ((t (:underline "red"))))
+ '(flymake-errline ((((class color)) (:underline "red"))))
+ '(flymake-warnline ((((class color)) (:underline "yellow1"))))
+ '(fringe ((t nil)))
+ '(term ((t (:inherit default)))))
View
40 personal/prelude-modules.el
@@ -0,0 +1,40 @@
+;;; Uncomment the modules you'd like to use and restart Prelude afterwards
+
+;; Emacs IRC client
+(require 'prelude-erc)
+(require 'prelude-ido) ;; Super charges Emacs completion for C-x C-f and more
+(require 'prelude-helm) ;; Interface for narrowing and search
+;; (require 'prelude-helm-everywhere) ;; Enable Helm everywhere
+
+(require 'prelude-company)
+(require 'prelude-key-chord) ;; Binds useful features to key combinations
+;; (require 'prelude-mediawiki)
+;; (require 'prelude-evil)
+
+;;; Programming languages support
+(require 'prelude-c)
+(require 'prelude-clojure)
+;; (require 'prelude-coffee)
+;; (require 'prelude-common-lisp)
+;; (require 'prelude-css)
+(require 'prelude-emacs-lisp)
+;; (require 'prelude-erlang)
+;; (require 'prelude-go)
+;; (require 'prelude-haskell)
+(require 'prelude-js)
+;; (require 'prelude-latex)
+(require 'prelude-lisp)
+;; (require 'prelude-ocaml)
+(require 'prelude-org) ;; Org-mode helps you keep TODO lists, notes and more
+(require 'prelude-perl)
+;; (require 'prelude-python)
+;; (require 'prelude-ruby)
+;; (require 'prelude-scala)
+(require 'prelude-scheme)
+(require 'prelude-shell)
+;; (require 'prelude-scss)
+;; (require 'prelude-web) ;; Emacs mode for web templates
+(require 'prelude-xml)
+;; (require 'prelude-yaml)
+
+
View
9 sample/prelude-modules.el
@@ -3,16 +3,17 @@
;; Emacs IRC client
(require 'prelude-erc)
(require 'prelude-ido) ;; Super charges Emacs completion for C-x C-f and more
-;; (require 'prelude-helm) ;; Interface for narrowing and search
+(require 'prelude-helm) ;; Interface for narrowing and search
;; (require 'prelude-helm-everywhere) ;; Enable Helm everywhere
+
(require 'prelude-company)
-;; (require 'prelude-key-chord) ;; Binds useful features to key combinations
+(require 'prelude-key-chord) ;; Binds useful features to key combinations
;; (require 'prelude-mediawiki)
;; (require 'prelude-evil)
;;; Programming languages support
(require 'prelude-c)
-;; (require 'prelude-clojure)
+(require 'prelude-clojure)
;; (require 'prelude-coffee)
;; (require 'prelude-common-lisp)
;; (require 'prelude-css)
@@ -35,3 +36,5 @@
;; (require 'prelude-web) ;; Emacs mode for web templates
(require 'prelude-xml)
;; (require 'prelude-yaml)
+
+
View
1  snippets/c++-mode/.yas-parents
@@ -0,0 +1 @@
+cc-mode
View
4 snippets/c++-mode/beginend
@@ -0,0 +1,4 @@
+# name: v.begin(), v.end()
+# key: beginend
+# --
+${1:v}.begin(), $1.end
View
9 snippets/c++-mode/class
@@ -0,0 +1,9 @@
+# name: class ... { ... }
+# key: class
+# --
+class ${1:Name}
+{
+public:
+ ${1:$(yas-substr text "[^: ]*")}($2);
+ virtual ~${1:$(yas-substr text "[^: ]*")}();
+};
View
4 snippets/c++-mode/ns
@@ -0,0 +1,4 @@
+# name: namespace ...
+# key: ns
+# --
+namespace
View
4 snippets/c++-mode/template
@@ -0,0 +1,4 @@
+# name: template <typename ...>
+# key: template
+# --
+template <typename ${T}>
View
5 snippets/c++-mode/using
@@ -0,0 +1,5 @@
+# name: using namespace ...
+# key: using
+# --
+using namespace ${std};
+$0
View
1  snippets/c-mode/.yas-parents
@@ -0,0 +1 @@
+cc-mode
View
4 snippets/c-mode/fopen
@@ -0,0 +1,4 @@
+# name: FILE *fp = fopen(..., ...);
+# key: fopen
+# --
+FILE *${fp} = fopen(${"file"}, "${r}");
View
7 snippets/c-mode/printf
@@ -0,0 +1,7 @@
+# -*- mode: snippet -*-
+# name: printf
+# contributor: joaotavora
+# key: printf
+# --
+printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);")
+}$2${1:$(if (string-match "%" text) "\);" "")}
View
1  snippets/cc-mode/.yas-parents
@@ -0,0 +1 @@
+text-mode
View
7 snippets/cc-mode/do
@@ -0,0 +1,7 @@
+# name: do { ... } while (...)
+# key: do
+# --
+do
+{
+ $0
+} while (${1:condition});
View
7 snippets/cc-mode/for
@@ -0,0 +1,7 @@
+# name: for (...; ...; ...) { ... }
+# key: for
+# --
+for (${1:int i = 0}; ${2:i < N}; ${3:++i})
+{
+ $0
+}
View
7 snippets/cc-mode/if
@@ -0,0 +1,7 @@
+# name: if (...) { ... }
+# key: if
+# --
+if (${1:condition})
+{
+ $0
+}
View
4 snippets/cc-mode/inc
@@ -0,0 +1,4 @@
+# name: #include "..."
+# key: inc
+# --
+#include "$1"
View
4 snippets/cc-mode/inc.1
@@ -0,0 +1,4 @@
+# name: #include <...>
+# key: inc
+# --
+#include <$1>
View
8 snippets/cc-mode/main
@@ -0,0 +1,8 @@
+# name: int main(argc, argv) { ... }
+# key: main
+# --
+int main(int argc, char *argv[])
+{
+ $0
+ return 0;
+}
View
9 snippets/cc-mode/once
@@ -0,0 +1,9 @@
+# name: #ifndef XXX; #define XXX; #endif
+# key: once
+# --
+#ifndef ${1:_`(upcase (file-name-nondirectory (file-name-sans-extension (buffer-file-name))))`_H_}
+#define $1
+
+$0
+
+#endif /* $1 */
View
7 snippets/cc-mode/struct
@@ -0,0 +1,7 @@
+# name: struct ... { ... }
+# key: struct
+# --
+struct ${1:name}
+{
+ $0
+};
View
1  snippets/cperl-mode/.yas-parents
@@ -0,0 +1 @@
+perl-mode
View
1  snippets/csharp-mode/.yas-parents
@@ -0,0 +1 @@
+cc-mode
View
8 snippets/csharp-mode/attrib
@@ -0,0 +1,8 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: private attribute ....;
+# key: attrib
+# --
+/// <summary>
+/// $3
+/// </summary>
+private $1 $2;
View
22 snippets/csharp-mode/attrib.1
@@ -0,0 +1,22 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: private attribute ....; public property ... ... { ... }
+# key: attrib
+# --
+/// <summary>
+/// $3
+/// </summary>
+private $1 $2;
+
+/// <summary>
+/// $4
+/// </summary>
+/// <value>$5</value>
+public $1 $2
+{
+ get {
+ return this.$2;
+ }
+ set {
+ this.$2 = value;
+ }
+}
View
22 snippets/csharp-mode/attrib.2
@@ -0,0 +1,22 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: private _attribute ....; public Property ... ... { ... }
+# key: attrib
+# --
+/// <summary>
+/// $3
+/// </summary>
+private $1 ${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")};
+
+/// <summary>
+/// ${3:Description}
+/// </summary>
+/// <value><c>$1</c></value>
+public ${1:Type} ${2:Name}
+{
+ get {
+ return this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")};
+ }
+ set {
+ this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")} = value;
+ }
+}
View
22 snippets/csharp-mode/class
@@ -0,0 +1,22 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: class ... { ... }
+# key: class
+# --
+${5:public} class ${1:Name}
+{
+ #region Ctor & Destructor
+ /// <summary>
+ /// ${3:Standard Constructor}
+ /// </summary>
+ public $1($2)
+ {
+ }
+
+ /// <summary>
+ /// ${4:Default Destructor}
+ /// </summary>
+ public ~$1()
+ {
+ }
+ #endregion
+}
View
7 snippets/csharp-mode/comment
@@ -0,0 +1,7 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: /// <summary> ... </summary>
+# key: comment
+# --
+/// <summary>
+/// $1
+/// </summary>
View
5 snippets/csharp-mode/comment.1
@@ -0,0 +1,5 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: /// <param name="..."> ... </param>
+# key: comment
+# --
+/// <param name="$1">$2</param>
View
5 snippets/csharp-mode/comment.2
@@ -0,0 +1,5 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: /// <param name="..."> ... </param>
+# key: comment
+# --
+/// <returns>$1</returns>
View
5 snippets/csharp-mode/comment.3
@@ -0,0 +1,5 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: /// <exception cref="..."> ... </exception>
+# key: comment
+# --
+/// <exception cref="$1">$2</exception>
View
11 snippets/csharp-mode/method
@@ -0,0 +1,11 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: public void Method { ... }
+# key: method
+# --
+/// <summary>
+/// ${5:Description}
+/// </summary>${2:$(if (string= (upcase text) "VOID") "" (format "%s%s%s" "\n/// <returns><c>" text "</c></returns>"))}
+${1:public} ${2:void} ${3:MethodName}($4)
+{
+$0
+}
View
8 snippets/csharp-mode/namespace
@@ -0,0 +1,8 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: namespace .. { ... }
+# key: namespace
+# --
+namespace $1
+{
+$0
+}
View
17 snippets/csharp-mode/prop
@@ -0,0 +1,17 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: property ... ... { ... }
+# key: prop
+# --
+/// <summary>
+/// $5
+/// </summary>
+/// <value>$6</value>
+$1 $2 $3
+{
+ get {
+ return this.$4;
+ }
+ set {
+ this.$4 = value;
+ }
+}
View
7 snippets/csharp-mode/region
@@ -0,0 +1,7 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: #region ... #endregion
+# key: region
+# --
+#region $1
+$0
+#endregion
View
5 snippets/csharp-mode/using
@@ -0,0 +1,5 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: using ...;
+# key: using
+# --
+using $1;
View
5 snippets/csharp-mode/using.1
@@ -0,0 +1,5 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: using System;
+# key: using
+# --
+using System;
View
5 snippets/csharp-mode/using.2
@@ -0,0 +1,5 @@
+# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
+# name: using System....;
+# key: using
+# --
+using System.$1;
View
1  snippets/css-mode/.yas-parents
@@ -0,0 +1 @@
+text-mode
View
4 snippets/css-mode/bg
@@ -0,0 +1,4 @@
+# name: background-color: ...
+# key: bg
+# --
+background-color: #${1:DDD};
View
4 snippets/css-mode/bg.1
@@ -0,0 +1,4 @@
+# name: background-image: ...
+# key: bg
+# --
+background-image: url($1);
View
4 snippets/css-mode/bor
@@ -0,0 +1,4 @@
+# name: border size style color
+# key: bor
+# --
+border: ${1:1px} ${2:solid} #${3:999};
View
5 snippets/css-mode/cl
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: clear: ...
+# key: cl
+# --
+clear: $1;
View
5 snippets/css-mode/disp.block
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: display: block
+# key: disp
+# --
+display: block;
View
5 snippets/css-mode/disp.inline
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: display: inline
+# key: disp
+# --
+display: inline;
View
5 snippets/css-mode/disp.none
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: display: none
+# key: disp
+# --
+display: none;
View
5 snippets/css-mode/ff
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: font-family: ...
+# key: ff
+# --
+font-family: $1;
View
5 snippets/css-mode/fs
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: font-size: ...
+# key: fs
+# --
+font-size: ${12px};
View
5 snippets/css-mode/mar.bottom
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: margin-bottom: ...
+# key: mar
+# --
+margin-bottom: $1;
View
5 snippets/css-mode/mar.left
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: margin-left: ...
+# key: mar
+# --
+margin-left: $1;
View
5 snippets/css-mode/mar.mar
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: margin: ...
+# key: mar
+# --
+margin: $1;
View
5 snippets/css-mode/mar.margin
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: margin top right bottom left
+# key: mar
+# --
+margin: ${top} ${right} ${bottom} ${left};
View
5 snippets/css-mode/mar.right
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: margin-right: ...
+# key: mar
+# --
+margin-right: $1;
View
5 snippets/css-mode/mar.top
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: margin-top: ...
+# key: mar
+# --
+margin-top: $1;
View
5 snippets/css-mode/pad.bottom
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: padding-bottom: ...
+# key: pad
+# --
+padding-bottom: $1;
View
5 snippets/css-mode/pad.left
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: padding-left: ...
+# key: pad
+# --
+padding-left: $1;
View
5 snippets/css-mode/pad.pad
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: padding: ...
+# key: pad
+# --
+padding: $1;
View
5 snippets/css-mode/pad.padding
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: padding: top right bottom left
+# key: pad
+# --
+padding: ${top} ${right} ${bottom} ${left};
View
5 snippets/css-mode/pad.right
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: padding-right: ...
+# key: pad
+# --
+padding-right: $1;
View
5 snippets/css-mode/pad.top
@@ -0,0 +1,5 @@
+# contributor: rejeep <johan.rejeep@gmail.com>
+# name: padding-top: ...
+# key: pad
+# --
+padding-top: $1;
View
7 snippets/emacs-lisp-mode/.read_me
@@ -0,0 +1,7 @@
+-*- coding: utf-8 -*-
+Originally started by Xah Lee (xahlee.org) on 2009-02-22
+Released under GPL 3.
+
+Feel free to add missing ones or modify existing ones to improve.
+
+Those starting with “x-” are supposed to be idiom templates. Not sure it's very useful. They might start with “i-” or "id-" in the future.
View
1  snippets/emacs-lisp-mode/.yas-parents
@@ -0,0 +1 @@
+text-mode
View
6 snippets/emacs-lisp-mode/add-hook.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: add-hook
+# key: add-hook
+# key: ah
+# --
+(add-hook HOOK$0 FUNCTION)
View
6 snippets/emacs-lisp-mode/and.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: and
+# key: and
+# key: a
+# --
+(and $0)
View
5 snippets/emacs-lisp-mode/append.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: append
+# key: append
+# --
+(append $0 )
View
5 snippets/emacs-lisp-mode/apply.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: apply
+# key: apply
+# --
+(apply $0 )
View
5 snippets/emacs-lisp-mode/aref.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: aref
+# key: aref
+# --
+(aref ARRAY$0 INDEX)
View
5 snippets/emacs-lisp-mode/aset.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: aset
+# key: aset
+# --
+(aset ARRAY$0 IDX NEWELT)
View
5 snippets/emacs-lisp-mode/assq.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: assq
+# key: assq
+# --
+(assq KEY$0 LIST)
View
5 snippets/emacs-lisp-mode/autoload.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: autoload
+# key: autoload
+# --
+(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)
View
6 snippets/emacs-lisp-mode/backward-char.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: backward-char
+# key: backward-char
+# key: bc
+# --
+(backward-char $0)
View
6 snippets/emacs-lisp-mode/beginning-of-line.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: beginning-of-line
+# key: beginning-of-line
+# key: bol
+# --
+(beginning-of-line)
View
6 snippets/emacs-lisp-mode/bounds-of-thing-at-point.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: bounds-of-thing-at-point
+# key: bounds-of-thing-at-point
+# key: botap
+# --
+(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
View
6 snippets/emacs-lisp-mode/buffer-file-name.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: buffer-file-name
+# key: buffer-file-name
+# key: bfn
+# --
+(buffer-file-name)
View
6 snippets/emacs-lisp-mode/buffer-modified-p.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: buffer-modified-p
+# key: buffer-modified-p
+# key: bmp
+# --
+(buffer-modified-p $0)
View
6 snippets/emacs-lisp-mode/buffer-substring-no-properties.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: buffer-substring-no-properties
+# key: buffer-substring-no-properties
+# key: bsnp
+# --
+(buffer-substring-no-properties START$0 END)
View
6 snippets/emacs-lisp-mode/buffer-substring.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: buffer-substring
+# key: buffer-substring
+# key: bs
+# --
+(buffer-substring START$0 END)
View
5 snippets/emacs-lisp-mode/car.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: car
+# key: car
+# --
+(car $0)
View
5 snippets/emacs-lisp-mode/cdr.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: cdr
+# key: cdr
+# --
+(cdr $0)
View
5 snippets/emacs-lisp-mode/concat.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: concat
+# key: concat
+# --
+(concat $0)
View
8 snippets/emacs-lisp-mode/cond.yasnippet
@@ -0,0 +1,8 @@
+# contributor: Xah Lee (XahLee.org)
+# name: cond
+# key: cond
+# --
+(cond
+(CONDITION$0 BODY)
+(CONDITION BODY)
+)
View
6 snippets/emacs-lisp-mode/condition-case.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: condition-case
+# key: condition-case
+# key: cc
+# --
+(condition-case $0 )
View
5 snippets/emacs-lisp-mode/cons.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: cons
+# key: cons
+# --
+(cons $0)
View
5 snippets/emacs-lisp-mode/consp.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: consp
+# key: consp
+# --
+(consp $0 )
View
6 snippets/emacs-lisp-mode/copy-directory.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: copy-directory
+# key: copy-directory
+# key: cd
+# --
+(copy-directory $0 NEWNAME &optional KEEP-TIME PARENTS)
View
6 snippets/emacs-lisp-mode/copy-file.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: copy-file
+# key: copy-file
+# key: cf
+# --
+(copy-file FILE$0 NEWNAME &optional OK-IF-ALREADY-EXISTS KEEP-TIME PRESERVE-UID-GID)
View
6 snippets/emacs-lisp-mode/current-buffer.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: current-buffer
+# key: current-buffer
+# key: cb
+# --
+(current-buffer)
View
6 snippets/emacs-lisp-mode/custom-autoload.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: custom-autoload
+# key: custom-autoload
+# key: ca
+# --
+(custom-autoload$0 SYMBOL LOAD &optional NOSET)
View
5 snippets/emacs-lisp-mode/defalias.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: defalias
+# key: defalias
+# --
+(defalias 'SYMBOL$0 'DEFINITION &optional DOCSTRING)
View
5 snippets/emacs-lisp-mode/defcustom.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: defcustom
+# key: defcustom
+# --
+(defcustom $0 VALUE "DOC" &optional ARGS)
View
6 snippets/emacs-lisp-mode/define-key.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: define-key
+# key: define-key
+# key: dk
+# --
+(define-key KEYMAPNAME$0 (kbd "M-b") 'FUNCNAME)
View
5 snippets/emacs-lisp-mode/defsubst.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: defsubst
+# key: defsubst
+# --
+(defsubst $0 )
View
12 snippets/emacs-lisp-mode/defun.yasnippet
@@ -0,0 +1,12 @@
+# contributor: Xah Lee (XahLee.org)
+# name: defun
+# key: defun
+# key: d
+# --
+(defun $1 ()
+ "DOCSTRING"
+ (interactive)
+ (let (var1)
+ (setq var1 some)
+ $0
+ ))
View
5 snippets/emacs-lisp-mode/defvar.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: defvar
+# key: defvar
+# --
+(defvar $0 &optional INITVALUE "DOCSTRING")
View
6 snippets/emacs-lisp-mode/delete-char.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: delete-char
+# key: delete-char
+# key: dc
+# --
+(delete-char $0)
View
6 snippets/emacs-lisp-mode/delete-directory.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: delete-directory
+# key: delete-directory
+# key: dd
+# --
+(delete-directory $0 &optional RECURSIVE)
View
6 snippets/emacs-lisp-mode/delete-file.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: delete-file
+# key: delete-file
+# key: df
+# --
+(delete-file $0)
View
6 snippets/emacs-lisp-mode/delete-region.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: delete-region
+# key: delete-region
+# key: dr
+# --
+(delete-region $0 )
View
6 snippets/emacs-lisp-mode/directory-files.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: directory-files
+# key: directory-files
+# key: df
+# --
+(directory-files $0 &optional FULL MATCH NOSORT)
View
5 snippets/emacs-lisp-mode/dolist.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: dolist
+# key: dolist
+# --
+(dolist $0 )
View
6 snippets/emacs-lisp-mode/end-of-line.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: end-of-line
+# key: end-of-line
+# key: eol
+# --
+(end-of-line)
View
5 snippets/emacs-lisp-mode/eq.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: eq
+# key: eq
+# --
+(eq $0)
View
5 snippets/emacs-lisp-mode/equal.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: equal
+# key: equal
+# --
+(equal $0)
View
5 snippets/emacs-lisp-mode/error.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: error
+# key: error
+# --
+(error "$0" &optional ARGS)
View
6 snippets/emacs-lisp-mode/expand-file-name.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: expand-file-name
+# key: expand-file-name
+# key: efn
+# --
+(expand-file-name $0 )
View
5 snippets/emacs-lisp-mode/f.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: format
+# key: format
+# --
+(format "$0" &optional OBJECTS)
View
5 snippets/emacs-lisp-mode/fboundp.yasnippet
@@ -0,0 +1,5 @@
+# contributor: Xah Lee (XahLee.org)
+# name: fboundp
+# key: fboundp
+# --
+(fboundp '$0 )
View
6 snippets/emacs-lisp-mode/file-name-directory.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: file-name-directory
+# key: file-name-directory
+# key: fnd
+# --
+(file-name-directory $0)
View
6 snippets/emacs-lisp-mode/file-name-extension.yasnippet
@@ -0,0 +1,6 @@
+# contributor: Xah Lee (XahLee.org)
+# name: file-name-extension
+# key: file-name-extension
+# key: fne
+# --
+(file-name-extension $0 &optional PERIOD)