capitalization of the words??
i am using both vi/vim editor.
i just want to capitalize the words by commands can this possible. i don't want to capitalize the whole line as it can done by g~~ but i want 2 or 3 words to capitalize at a time that may in forward or backward direction. Also is there any method to capitalize the first character of the word not all the characters of the words . PHP Code:
|
There are two buttons for that...one is called Shift, and the other is called Caps Lock. Give them a go, see if they work in Vi (I believe they should, they work for me in Vi).
|
Pikidalto, if you can't be bothered being helpful, don't bother posting
Dina, the tilde "~" will switch the case of the text under the curser. 4~ will change the case of the character under the cursor and 3 characters to the right. In visual more, the tilde will switch the case of highlighted text. For the last part, see http://www.linuxquestions.org/questi...string-268182/ Hope that helps |
Quote:
|
All times are GMT -5. The time now is 02:40 PM. |