Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

alexchee/atom-ruby-define-method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-define-method package

Adds ruby-define-method:new_instance_method command converts a line of text into a method name with shift+enter like in Textmate. Please note: I'm still learning my way around Atom, improvements are welcomed!

Ruby Define Method

To change the keybinding:

'.editor[data-grammar~=ruby]':
  'shift-enter': 'ruby-define-method:new_instance_method'

TODO:

  • maybe add other Ruby Textmate commands

About

Atom package that adds Textmate's New Method keymap (shift+enter)

Resources

License

Stars

Watchers

Forks

Packages

No packages published