ERB tag shortcut sublime text

https://github.com/eddorre/SublimeERB

go https://sublime.wbond.net/ and install Package Control

command + shift + P
install package (then enter)
SublimeERB (then enter)

(that goes to ~/.config/sublime-text-2/Packages/SublimeERB)

menu > preferences > Key Bindings - User
and then type in

  [
    { "keys": ["ctrl+shift+."], "command": "erb" }
  ]

and then when control + shift + .
erb tag happens

 
6
Kudos
 
6
Kudos

Now read this

Ruby block

I’ve been trying to figure out how it works. This morning I wanted to write it down my thinking process today, before I forget. block_given? block_given? is a method of Kernel module. In other words, it’s one of the same kind of puts,... Continue →