diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-10 21:34:47 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-10 21:34:47 +1300 |
commit | 9be63f590dbe5a1de03220a3e2826778309038d2 (patch) | |
tree | ed29afa4ef8ddd706db27fe20bdeaf81c9f08154 /vim/config/registers.vim | |
parent | Move nrformats.vim content to format.vim (diff) | |
download | dotfiles-9be63f590dbe5a1de03220a3e2826778309038d2.tar.gz dotfiles-9be63f590dbe5a1de03220a3e2826778309038d2.zip |
Rename yank.vim to registers.vim
More likely to share options this way.
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$ |