add commands to toggle autoformat and wrap mode