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

I wrote merge sort in Ruby

I am learning sorting algorithms these days. And to me merge sort looks simple than other sorts. (There are merge sort, insertion sort, quick sort, selection sort, bubble sort, et cetera.) I thought I should try to write it in Ruby. The... Continue →