Skip to content

Instantly share code, notes, and snippets.

@ainame
Created July 1, 2013 03:16
Show Gist options
  • Save ainame/5898143 to your computer and use it in GitHub Desktop.
Save ainame/5898143 to your computer and use it in GitHub Desktop.
RubyMotionを使うにあたって書いてる設定
(require 'motion-mode)
(add-to-list 'ac-modes 'motion-mode)
(add-hook 'ruby-mode-hook 'motion-recognize-project)
(define-key motion-mode-map (kbd "C-c C-c") 'motion-execute-rake)
(define-key motion-mode-map (kbd "C-c C-o") 'motion-dash-at-point)
(push '("*motion-rake*" :position bottom :height 10) popwin:special-display-config)
(add-to-list 'auto-mode-alist '("Guardfile" . ruby-mode))
(add-to-list 'auto-mode-alist '("Rakefile" . ruby-mode))
(add-to-list 'auto-mode-alist '("Gemfile" . ruby-mode))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment