vim - How to jump to the end of pasted content after paste?

ID : 274526

viewed : 33

Tags : vimvim





Top 2 Answer for vim - How to jump to the end of pasted content after paste?

vote vote

92

By default, the p and P commands should leave the cursor at the last character of the pasted text. gp and gP go one character forwards (first character after pasted text).

When you paste text, you have marks [ and ] set to the beginning and end of pasted text. Therefore you can use `[ and `] to move the cursor to begin/end of pasted content.

vote vote

80

Top 3 video Explaining vim - How to jump to the end of pasted content after paste?







Related QUESTION?