Minor mode for editing magento