use different cursor in command mode and edit mode