When typing code, I would normally close brackets, go back inside, go outside, type semicolon, etc:
I might start with (| is the caret):
System.out.println()|
Then go left:
System.out.println(|)
Then this:
System.out.println(foo()|)
Again backtracking a space:
System.out.println(foo(|))
Typing quotes are similar:
System.out.println(foo(""|))
...etc.
My right hand is constantly moving between the home row and the arrow keys. I've tried vim and although I know the basics, it still feels very awkward to me.
How should I do this? Should I just type from left to right (opening bracket, then contents, then closing brackets, then semicolon)?
Thanks.