Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
Did you tried to press "Insert" before entering numbers? – Diogo Mar 23 '12 at 14:06
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
up vote 4 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .