in VIM sometimes when saving, I accidentally hit capital W instead of its lowercase brother. I am prompted for my system password, so I assume it is running a sudo command of some sort, but do you know what?
Thank you!
|
in VIM sometimes when saving, I accidentally hit capital W instead of its lowercase brother. I am prompted for my system password, so I assume it is running a sudo command of some sort, but do you know what? Thank you! | |||||
feedback
|
This question came from our site for professional and enthusiast programmers.
|
As others have said,
| |||
|
feedback
|
|
That's strange. The normal mapping of "W" advances by a WORD, where WORD is defined by a sequence of non-blank characters. | |||||
feedback
|
|
| |||
|
feedback
|
|
You can test this line
{Cursor} : Cursor position in normal mode, w: will move word which separated by " ,./?" W: will move word which separated by " " only | |||
|
feedback
|