Add compile region and compile buffer functions and key bindings