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

here is my article.

with a screen editor,you can scroll the 
page,move the cursor,delete lines,insert

my cursor position is at the beginning of the second line (character 'p' of "page"):

I want to continue my edit, so i press the esc key to reenter command mode, and then press '$' to move to the end of this line.

I then press the 'enter' key, so that i may continue my edit... Is there a simpler way to do this ?

share|improve this question
    
For what it's worth; (I notice from editing some of your previous questions also), commas come before the space. – Sirex Dec 21 '13 at 8:48
    
As pointed below, the question is unclear. If the question is "what's the fastest way to insert text at the end of a line while the cursor is at the beginning of it, then one way it's pressing shift+a in normal mode. – Immanuel Weihnacht Aug 31 '15 at 7:56
up vote 3 down vote accepted

This question is quite hard to understand, but i think you're either asking for how can you create a new line in command mode (use 'o') or how can you move down a line in vim ('j').

If it's neither of these things you wish to know, please say.

share|improve this answer

The simplest way is probably hit ctrl-o then $.

ctrl-o puts you into command mode for one command only, so the $ puts you to the end of the line, then you're automatically back into insert mode, and can continue your edit - i.e. hit enter an you're on the next line.

share|improve this answer
    
ah, yeah - if this is what's being asked by luofeiyu, hitting the 'end' key will also do it. – Sirex Dec 21 '13 at 8:50

You must log in to answer this question.

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