开发者

vim does not update screen right away

开发者 https://www.devze.com 2022-12-25 13:27 出处:网络
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

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

精彩评论

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

关注公众号