patch 8.2.2914: cannot paste a block without adding padding

Problem:    Cannot paste a block without adding padding.
Solution:   Add "zp" and "zP" which paste without adding padding. (Christian
            Brabandt, closes #8289)
This commit is contained in:
Christian Brabandt
2021-05-30 22:17:25 +02:00
committed by Bram Moolenaar
parent d2ea7cf10a
commit 2fa9384ca1
8 changed files with 56 additions and 10 deletions

View File

@ -864,6 +864,8 @@ tag char note action in Normal mode ~
|zm| zm subtract one from 'foldlevel'
|zn| zn reset 'foldenable'
|zo| zo open fold
|zp| zp paste in block-mode without trailing spaces
|zP| zP paste in block-mode without trailing spaces
|zr| zr add one to 'foldlevel'
|zs| zs when 'wrap' off scroll horizontally to
position the cursor at the start (left