RedditPP Mascot

RedditPP

r/vim • … • u/EgZvor

Use CTRL-X_CTRL-P more!

`:h i_CTRL-X_CTRL-P`

Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will copy the words following the previous expansion in other contexts unless a double CTRL-X is used.

Say, your cursor is at `|`

Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will copy the words following the previous expansion in other contexts unless a double CTRL-X is used.

th|

If you press `CTRL-P` you get

Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will copy the words following the previous expansion in other contexts unless a double CTRL-X is used.

the|

Now, if you press `CTRL-X CTRL-P` you get this

Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will copy the words following the previous expansion in other contexts unless a double CTRL-X is used.

the previous|

Repeating `CTRL-X CTRL-P` will add the next words until the end of the line is reached.

Further use of CTRL-X CTRL-N or CTRL-X CTRL-P will copy the words following the previous expansion in other contexts unless a double CTRL-X is used.

the previous expansion in|

— 0