diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:25:23 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:25:23 +1300 |
commit | 61bc98d0c54640d3cfc6ef80f9d1f161a8a43920 (patch) | |
tree | 563d94b30cb1b8f1b9545a660ec7c49c49291068 /vim/config | |
parent | Move buffers .vimrc config into subfile (diff) | |
download | dotfiles-61bc98d0c54640d3cfc6ef80f9d1f161a8a43920.tar.gz dotfiles-61bc98d0c54640d3cfc6ef80f9d1f161a8a43920.zip |
Move yanking .vimrc config into subfile
Diffstat (limited to 'vim/config')
-rw-r--r-- | vim/config/yank.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/yank.vim b/vim/config/yank.vim new file mode 100644 index 00000000..01879aa8 --- /dev/null +++ b/vim/config/yank.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$ |