diff options
Diffstat (limited to 'vim/config/registers.vim')
-rw-r--r-- | vim/config/registers.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/registers.vim b/vim/config/registers.vim new file mode 100644 index 00000000..01879aa8 --- /dev/null +++ b/vim/config/registers.vim @@ -0,0 +1,4 @@ +" Change and delete with C and D both cut off the remainder of the line from +" the cursor, but Y yanks the whole line, which is inconsistent (and can be +" done with yy anyway); this fixes it so it only yanks the rest of the line +nnoremap Y y$ |