add command to switch space and tab
add command to switch space and tab