add powerline snippet code

change powerline's statusline immediatly when you enter or leave a mode