atom-vim-mode-plus
atom-vim-mode-plus copied to clipboard
Use `%` to match pair in Ruby
First of all, I tried reading the README but I'm not quite sure what Any Pair is, if that has anything to do with my issue.
What I want to do is by pressing %, go to pair in Ruby code, so for example, matching def with end (also for classes, modules, etc):
+ -- cursor here
|
v
def foo
# ...
end
def foo
# ...
end
^
|
+ -- cursor here after pressing `%`
Is there a way to do it?