aboutsummaryrefslogtreecommitdiff
path: root/vim/config/registers.vim
blob: 01879aa88f7d3eaec812427b7b81e06bca7d87ab (plain)
1
2
3
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$