Firstly, I typed some thing on insert mode, like
At this stage, if I didn't exit from insert mode, delete works and can delete the whole word if I want.
If I quit insert mode, and open insert mode again, this
Hello can't be removed by delete. But the newly typed in content can be removed.
I've renamed my .vimrc, problem still exits.
And I did some test on remote server through iterm, didn't encounter the same issue.
What could be the cause of this problem? How to fix it?
Ctrl-W, try that. If that does nothing, there's something wrong with your vim. I use iTerm 2 and have never had such problems.
shiftin normal mode to delete words. But
wboth don't work in the second situation I mentioned above.