LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Query regarding vi editor (https://www.linuxquestions.org/questions/linux-newbie-8/query-regarding-vi-editor-676986/)

Baslingappa.Bhujang 10-17-2008 12:18 AM

Query regarding vi editor
 
Hi All,
Can somebody help me on the following in Linux' 'vi' editor..

1. How to display the position of the cursor(column number) in a row?
2. How to move the cursor to 'n'th column in a row?

Thanks in advance,
Basling.

Simon Bridge 10-17-2008 12:32 AM

Sounds like a homework exercise to me: have you read the help file?

eg.
for Q1. Telling where you are
for Q2. 23j 5h puts you on the 5th column of row 23.

Baslingappa.Bhujang 10-20-2008 12:55 AM

Thanks Simon,
Your reply really helped me

Thanks,
Basling

Simon Bridge 10-20-2008 07:24 AM

Cool - now go find someone to help ;)
Have a look at the zero reply threads. Many of them can be solved with a quick google. You may learn something too.


All times are GMT -5. The time now is 09:44 AM.