add autocmd CursorMoveI
refactoring
refactoring