fix vim keys not showing up, escape html for <Space> keys