开发者

vim does not update screen right away

I am using the cw (change word) command and the screen does not update until i press the ESC key. I ha开发者_开发技巧ve already set "slow" in my .vimrc.


Are you seeing a $ show up at the end of your change region immediately, and then it goes away when you hit ESC? If so, try :set cpo-=$. You may also have to :set nocp.


What do you expect the cw command to do? Are you confusing it with dw (delete word)?

With cw, you should be doing: ESCcwFooBarESC. That will replace the current word your cursor is on with FooBar (the second ESC exits insert mode).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜