remove undodir & add tab switch key