How to jump to previous page or next page in vim?
Answer:
To move to previous page or next page in vim, you can use the ctrl+b or ctrl+f combinations.
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to jump to previous page or next page in vim?
Answer:
To move to previous page or next page in vim, you can use the ctrl+b or ctrl+f combinations.
Move cursor to the start of line in VIM
Answer:
In our previous article, we learned how to move cursor to the end of line in VIM, so how about move to the start of the line?
The answer is simple:
0
Move cursor to the end of line in VIM
Answer:
To move to the end of a line in VIM, type
$
You can also type "A" to append at end of the line.
Move cursor to the end of file in VIM
Answer:
To move to the end of a file in VIM, type
G
Disable auto indent when pasting text into vim
Answer:
When you copy multiple lines text and paste it into the vim , sometimes you might find the text is aligned wrongly as the following:
Line1
Line 2
Line 3
Line 4
To solve this problem, enter the paste mode by
: set paste
Then do all the pasting works, and when finished, type
: set nopaste