diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-11 00:01:00 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-11 00:01:00 +1300 |
commit | 687559d5400e5c34967cb84040c32a52720078d0 (patch) | |
tree | 7f5310c4b573221353640d639f5a7627f0d0ccb0 /vim/config/registers.vim | |
parent | Merge branch 'feature/oii-fix' into develop (diff) | |
parent | Sort 'shortmess' flag settings alphabetically (diff) | |
download | dotfiles-687559d5400e5c34967cb84040c32a52720078d0.tar.gz dotfiles-687559d5400e5c34967cb84040c32a52720078d0.zip |
Merge branch 'feature/vimrc-reunify' into develop
* feature/vimrc-reunify: (23 commits)
Sort 'shortmess' flag settings alphabetically
Add 'o' and 'O' back into 'shortmess'
Set up individual flags for 'shortmess'
Use exists+ test rather than exists&
Adjust some whitespace and comment layout
Move matchit.vim sourcing into plugin.vim
Rename netrw.vim to plugin.vim
Remove 'shellslash' setting
Move fedora.vim into os.vim
Remove 'tildeop' setting
Rearrange three smaller files into display.vim
Move 'paste' options into terminal.vim
Move wildmenu config into completion.vim
Rename complete.vim to completion.vim
Rename term.vim to terminal.vim
Rename yank.vim to registers.vim
Move nrformats.vim content to format.vim
Rename startup.vim to messages.vim
Merge encoding.vim and file.vim into files.vim
Move backup, swap, and undo dir logic into plugins
...
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$ |