mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 15:06:38 -05:00
Revert "Remove the keybinding to have Y copy to the end of the line as this is default in neovim"
This reverts commit 0796112444
.
This commit is contained in:
parent
0796112444
commit
033184f58a
2 changed files with 5 additions and 0 deletions
1
vim/bundle/ReplaceWithRegister
Submodule
1
vim/bundle/ReplaceWithRegister
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ae316e25ddb1b33feb644afc2c29c4f48653b55d
|
|
@ -93,6 +93,7 @@
|
||||||
" <Leader>p | (N) -> view the paste buffers and register contents
|
" <Leader>p | (N) -> view the paste buffers and register contents
|
||||||
" P | (V) -> save selection to the buffer and paste over
|
" P | (V) -> save selection to the buffer and paste over
|
||||||
" p | (V) -> preserve the buffer pasting over selected text
|
" p | (V) -> preserve the buffer pasting over selected text
|
||||||
|
" Y | (N) -> copy to the end of the line
|
||||||
"
|
"
|
||||||
" (delete/cut operations that don't replace the paste buffer)
|
" (delete/cut operations that don't replace the paste buffer)
|
||||||
" <Leader>x | (N) -> delete the char(s) under and the cursor
|
" <Leader>x | (N) -> delete the char(s) under and the cursor
|
||||||
|
@ -442,6 +443,9 @@
|
||||||
vnoremap P p
|
vnoremap P p
|
||||||
xmap p <Plug>ReplaceWithRegisterVisual
|
xmap p <Plug>ReplaceWithRegisterVisual
|
||||||
|
|
||||||
|
"copy to the end of the line
|
||||||
|
nnoremap Y vg_y
|
||||||
|
|
||||||
"delete/cut operations that don't replace the paste buffer
|
"delete/cut operations that don't replace the paste buffer
|
||||||
nnoremap <Leader>x "_x
|
nnoremap <Leader>x "_x
|
||||||
vnoremap <Leader>x "_x
|
vnoremap <Leader>x "_x
|
||||||
|
|
Loading…
Reference in a new issue