diff options
author | Christian Brabandt <cb@256bit.org> | 2021-06-10 19:39:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-10 19:39:11 +0200 |
commit | 544a38e44db0f25ec4fa7a2a4666cf28a2336f33 (patch) | |
tree | aa6a3da517185bbdb604f7d31bde07ef4dc36c31 /src/normal.c | |
parent | 31e299c08f250b126b2c2c0ecce12ee563b70fdc (diff) | |
download | vim-git-544a38e44db0f25ec4fa7a2a4666cf28a2336f33.tar.gz |
patch 8.2.2971: cannot yank a block without trailing spacesv8.2.2971
Problem: Cannot yank a block without trailing spaces.
Solution: Add the "zy" command. (Christian Brabandt, closes #8292)
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c index fe47e2b74..b2d0c011e 100644 --- a/src/normal.c +++ b/src/normal.c @@ -2985,6 +2985,9 @@ dozet: case 'P': case 'p': nv_put(cap); break; + // "zy" Yank without trailing spaces + case 'y': nv_operator(cap); + break; #ifdef FEAT_FOLDING // "zF": create fold command // "zf": create fold operator |