In my written a function name (line 1) and input {after pressing the Enter key cursor will jump to the next line, and indented two spaces (line 2), but the problem comes, this time if I continue to press the Enter key, then the cursor to jump to the next line and indent the two squares (line 3), then if I press the arrow keys on the want to back to a line (line 2) is back to the beginning of the line rather than returning to the indentation, This feeling is not good,
I want to make it back to the beginning of the line , how to do???
as shown in Figure
http://img.bbs.csdn.net/upload/201604/09/1460199395_346687.gif