Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sometimes when I have to do basic editing of a file or write a basic script when I'm working in Terminal, I use vi. The problem is that when I type numbers, it goes to that line. Is there a way to turn this off or get around this? Surprisingly, when I searched Google and Super User, I couldn't find anything on this.

share|improve this question
2  
Did you tried to press "Insert" before entering numbers? –  Diogo Mar 23 '12 at 14:06
1  
You might benefit from working through a vi tutorial (example) –  RedGrittyBrick Mar 23 '12 at 15:30
    
@RedGrittyBrick Thanks! –  CoffeeRain Mar 23 '12 at 15:58
add comment

1 Answer

up vote 2 down vote accepted

You need to get into insert mode by typing "i".

share|improve this answer
    
I am... (fifteen characters) –  CoffeeRain Mar 23 '12 at 14:18
    
Are you perhaps using the numeric keypad without the Num Lock button pressed? –  Scott Wilson Mar 23 '12 at 14:19
    
My keyboard has just the line of numbers on the top. –  CoffeeRain Mar 23 '12 at 14:34
    
Use the command ":se showmode" (no quotes) and make sure you are in Insert mode (it will show -- INSERT --) at the bottom of the screen. –  Scott Wilson Mar 23 '12 at 15:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.