Permalink
Browse files

Updating github with my latest code

  • Loading branch information...
1 parent 4fb865b commit b28ca5d873bece1e9f1ba22e5b47c3f273f118d6 Eric Schwartz committed Nov 10, 2011
Showing with 36 additions and 11 deletions.
  1. +1 −2 init.d/01_packages.el
  2. +1 −0 init.d/ZZ_keybindings.el
  3. +3 −1 init.d/code.el
  4. +1 −2 init.d/feature-mode.el
  5. +10 −1 init.d/orgmode.el
  6. +1 −1 init.d/ruby.el
  7. +4 −4 init.d/rvm-loaddefs.el
  8. +15 −0 url/cookies
View
3 init.d/01_packages.el
@@ -3,9 +3,8 @@
;; package loading stuff
(package-initialize)
(setq ems-required-packages
- (list 'xml-rpc 'magit 'gh 'textmate 'inf-ruby 'yaml-mode 'scss-mode 'ruby-compilation 'feature-mode))
+ (list 'xml-rpc 'magit 'gh 'textmate 'inf-ruby 'yaml-mode 'scss-mode 'ruby-compilation 'feature-mode 'coffee-mode))
(dolist (package ems-required-packages)
(when (not (package-installed-p package))
(package-refresh-contents)
(package-install package)))
-
View
1 init.d/ZZ_keybindings.el
@@ -1 +1,2 @@
(global-set-key (kbd "<f8>") 'gist-region-or-buffer)
+(global-unset-key (kbd "C-z"))
View
4 init.d/code.el
@@ -1,3 +1,5 @@
;; functions and variables defined for all coding modes
(add-hook 'ems-code-modes-hook
- (lambda () (linum-mode 1)))
+ (lambda ()
+ (linum-mode 1)
+ (textmate-mode)))
View
3 init.d/feature-mode.el
@@ -2,5 +2,4 @@
(add-hook 'feature-mode-hook
(lambda ()
(run-hooks 'ems-code-modes-hook)))
-
-
+(setq auto-mode-alist (cons '("\\.feature$" . feature-mode) auto-mode-alist))
View
11 init.d/orgmode.el
@@ -1,2 +1,11 @@
-;; run org-mode by default
+;; load org-mode for .org buffers
+(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
+
+;; global keys for org tasks
+(global-set-key "\C-cl" 'org-store-link)
+(global-set-key "\C-cc" 'org-capture)
+(global-set-key "\C-ca" 'org-agenda)
+(global-set-key "\C-cb" 'org-iswitchb)
+
+;; start org-mode by default
(org-mode)
View
2 init.d/ruby.el
@@ -1,6 +1,6 @@
;; functions and methods for ruby coding
+(setq ruby-insert-encoding-magic-comment nil)
(add-hook 'ruby-mode-hook
(lambda ()
(run-hooks 'ems-code-modes-hook)
(rvm-activate-corresponding-ruby)))
-
View
8 init.d/rvm-loaddefs.el
@@ -8,24 +8,24 @@
;;;;;; (20118 28401))
;;; Generated autoloads from ../elisp/external/rvm.el/rvm.el
-(autoload 'rvm-use-default "../elisp/external/rvm.el/rvm" "\
+(autoload 'rvm-use-default "~/.emacs24/elisp/external/rvm.el/rvm" "\
use the rvm-default ruby as the current ruby version
\(fn)" t nil)
-(autoload 'rvm-activate-corresponding-ruby "../elisp/external/rvm.el/rvm" "\
+(autoload 'rvm-activate-corresponding-ruby "~/.emacs24/elisp/external/rvm.el/rvm" "\
activate the corresponding ruby version for the file in the current buffer.
This function searches for an .rvmrc file and activates the configured ruby.
If no .rvmrc file is found, the default ruby is used insted.
\(fn)" t nil)
-(autoload 'rvm-use "../elisp/external/rvm.el/rvm" "\
+(autoload 'rvm-use "~/.emacs24/elisp/external/rvm.el/rvm" "\
switch the current ruby version to any ruby, which is installed with rvm
\(fn NEW-RUBY NEW-GEMSET)" t nil)
-(autoload 'rvm-open-gem "../elisp/external/rvm.el/rvm" "\
+(autoload 'rvm-open-gem "~/.emacs24/elisp/external/rvm.el/rvm" "\
\(fn GEMHOME)" t nil)
View
15 url/cookies
@@ -0,0 +1,15 @@
+;; Emacs-W3 HTTP cookies file
+;; Automatically generated file!!! DO NOT EDIT!!!
+
+(setq url-cookie-storage
+ '(("marmalade-repo.org"
+ [url-cookie "connect.sid" "217fee35c1b8459f8410caad0d3.3e75902ca193d14b3ec8c68c583871ef" "Thu, 10 Nov 2011 23:00:13 GMT" "/" "marmalade-repo.org" nil]
+ [url-cookie "httpOnly" nil "Thu, 10 Nov 2011 23:00:13 GMT" "/" "marmalade-repo.org" nil]))
+)
+(setq url-cookie-secure-storage
+ 'nil)
+
+;; Local Variables:
+;; version-control: never
+;; no-byte-compile: t
+;; End:

0 comments on commit b28ca5d

Please sign in to comment.