Cursor Movement :
h (left), j (down), k (up), l (right)End of Line:
$ --> End of line
A --> Append at End of line
Start of Line:
"^ "
Begin of previous line: "H" (shift +h)
Begin of next line : "L" (shift + l)
End of File :
Shift + g
Join two lines:
"J" --> Go to End of line then press "J"
Go to :
:n --> go to line no. "n"
Word movement :
End of current word: e
Start of current word: b
Next word: w
You may also want to know how to work with multiple files using vi split
No comments:
Post a Comment