aliou / dotfiles

Opinionated dotfiles, endless source of yak shaving.
7 stars 0 forks source link

ctags & ruby : work with modules? #18

Closed aliou closed 6 years ago

aliou commented 6 years ago

Ex. with two classes :

# lib/module_a/cool_class.rb
module ModuleA
  class CoolClass; end
end

# lib/module_b/cool_class.rb
module ModuleB
  class CoolClass; end
end

Typing <C-] will always open the first class. The second class is accessible with :tnext, but this is annoying if there are multiple classes with the same name in different modules.

aliou commented 6 years ago
aliou commented 6 years ago

suck it up and use <c-]> and g<c-]`