LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   capitalization of the words?? (https://www.linuxquestions.org/questions/linux-newbie-8/capitalization-of-the-words-641212/)

dina3e 05-09-2008 11:10 PM

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:

The Vim Editor is intersting One


Pikidalto 05-10-2008 12:27 AM

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).

billymayday 05-10-2008 01:45 AM

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

dina3e 05-11-2008 09:26 PM

Quote:

Originally Posted by billymayday (Post 3148904)
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

THANKS FOR THE LINKS .


All times are GMT -5. The time now is 01:01 PM.