support right/left duplicate in insert-mode