我在 ruby on rails 中的堆栈跟踪错误如下所示。我很高兴地使用 ctr-w gF 跳转到文件并转到文件后面的行号一段时间。
但是我开始使用 RVM 和 gem_sets,这在目录中放置了一个 @ 符号,这显然使 Vim 感到困惑。在这种情况下,我该如何使用我心爱的 ctr-w gF?
/Users/x/.rvm/gems/ruby-1.8.7-p334@idance/gems/activesupport-3.0.7/lib/active_support/whiny_nil.rb:48:in `method_missing'
/Users/x/.rvm/gems/ruby-1.8.7-p334@idance/gems/arel-2.0.10/lib/arel/table.rb:103:in `[]'
/Users/x/.rvm/gems/ruby-1.8.7-p334@idance/gems/activerecord-3.0.7/lib/active_record/counter_cache.rb:34:in `reset_counters'
/Users/x/.rvm/gems/ruby-1.8.7-p334@idance/gems/activerecord-3.0.7/lib/active_record/counter_cache.rb:19:in `each'
/Users/x/.rvm/gems/ruby-1.8.7-p334@idance/gems/activerecord-3.0.7/lib/active_record/counter_cache.rb:19:in `reset_counters'