开发者

vi editor in ubuntu cursor on top of character wont delete

开发者 https://www.devze.com 2023-04-10 17:11 出处:网络
I\'m running ubuntu and the cursor in vi won\'t delete character before cursor. The cursor \"white box\" will jump on top of previous c开发者_高级运维haracter when I use the x command. then if I press

I'm running ubuntu and the cursor in vi won't delete character before cursor. The cursor "white box" will jump on top of previous c开发者_高级运维haracter when I use the x command. then if I press x command again it will delete the second character while placing the previous character in its place. example:

ABC[] *[]represents cursor"white box"

I want to delete c vi does this when press command x once: AB[C] then command x again vi does this: A[C]

my question is this: How do I get a blank cursor "white box" because when I use the command L the cursor won't get of the character and move on its own to the right.

Thank you for any help you guys can give me.


I'm not sure I got what you mean, but I suspect you have CAPS LOCK on, so that x (delete character under cursor) becomes X (delete character preceding the cursor), which would explain why ABC becomes AC rather than AB.

0

精彩评论

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