add golang support and intelligent <Ctrl-Space> remap