Skip to content
Shuai YUAN edited this page May 29, 2015 · 1 revision

Table of Contents

Tip 15: Paste From a Register Without Leaving Insert Mode

Return to the top: <>

`{register}`

Example:

References:

Use `{register}` for Character-wise Registers

If the `textwidth` and `autoindent` options are enabled, you might end up with unwanted line breaks or extra indentation when you `{register}` to paste a lot of text.

`{register}`: inserts text iterally and fixes any unintended indentation.

Suggestion: switch to Normal mode when you want to paste a register containing multiple lines of text.

References:

Table of Contents


Clone this wiki locally