I often insert binding.pry to my ruby files when I debug them. As I use Vim I\'d love to automate it to avoid retyping it every time. How could I do it?
binding.pry
Th
Another mapping that will do is:
nnoremap gb :let a='binding.pry'\|put=a