{"version":"2.1.314","anchor":"vim-paste-and-put-behavior-rewritten","canonical_anchor":"vim-paste-and-put-behavior-rewritten","heading":"Vim mode pasting rewritten for whole-line pastes","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/vim-paste-and-put-behavior-rewritten","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Vim mode pasting rewritten for whole-line pastes\n\nIn vim mode, pasting whole lines now handles cursor placement and saved text differently\n\n**Unclear.** Exactly how pasting behaves differently from before is not stated.\n\n**What**\n\nVim mode lets you edit your prompt with keys borrowed from the Vim text editor. The paste commands in this mode (`p` and `P`) have been rewritten. When you paste whole lines, where the cursor ends up and what gets saved to the register (Vim's name for a slot that holds copied text) are now handled differently.\n\n**Why**\n\nIf you use `p` or `P` to paste whole lines in vim mode, the cursor may land somewhere else afterwards, and the copied text held in registers may differ from before.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}