Sublime code has a Super-R shortcut that opens a method browser listing all methods in the current class (Ruby). Is there a plugin to get similar functionality in Vim?
"/ def" or "m" "only works if you are familiar with the class and know which method you want to switch to, whereas Super + R works only to learn the class.
TagList plugin is another (very popular) option. There are tons of others .
FYI, /def m] Sublime Text Ctrl + R. :tag foo, , .
/def
m]
:tag foo
, CtrlP , Sublime Text Ctrl + R: :CtrlpBufTag, .
:CtrlpBufTag
tags, Exuberant Ctags . , Vim.
tags
https://github.com/fatih/subvim
cmd+r " ". genarete - . , ctags, . , Go, Coffeescript, Objective-C .. .
cmd+r
, , (, ). , :
cmd + p
cmd + t
cmd + r
cmd + k
cmd + /
cmd + [
cmd + ]
cmd + <number>
cmd + alt + left
cmd + alt + right
cmd + z
cmd + shift + z
cmd + s
cmd + w
cmd + f
, , .
The tagbar plugin works great with Ruby files. This may not be exactly the same as Sublime Super-R, but it gives you a quick and easy way to learn the class.