Closed zhiyuanshi closed 10 years ago
How about we just replace inf-ruby
with inf-ruby-console-auto
in this map?
Seems inf-ruby-console-auto
is able to act as the vanilla inf-ruby
with plain Ruby projects? Cool. :)
Not entirely. It's Bundler-aware, and if started within a gem, the console will start with it and its dependencies loaded. Unfortunately, it doesn't work outside of projects (raises an error).
I don't really like to have two bindings doing very similar things, and C-c C-c
could probably be used for something more important, if not here, then by some other package. Rather than spend time thinking how to preserve but enhance the old behavior (called with prefix -> ask to choose the implementation...), I'd rather the users set the key binding themselves.
Would be very handy for Rails developers, for example. The second 'c' is a mnemonic for 'console'.