atom-vim-mode-plus icon indicating copy to clipboard operation
atom-vim-mode-plus copied to clipboard

Use `%` to match pair in Ruby

Open gosukiwi opened this issue 5 years ago • 0 comments

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?

gosukiwi avatar May 21 '20 20:05 gosukiwi