From 9be63f590dbe5a1de03220a3e2826778309038d2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 10 Nov 2017 21:34:47 +1300 Subject: Rename yank.vim to registers.vim More likely to share options this way. --- vim/config/registers.vim | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 vim/config/registers.vim (limited to 'vim/config/registers.vim') 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$ -- cgit v1.2.3