add vim mode status and editing id