From 07961124445e769cae50d20a6f4b64128f11da40 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Sun, 17 Mar 2024 17:40:55 -0400 Subject: [PATCH] Remove the keybinding to have Y copy to the end of the line as this is default in neovim --- vim/bundle/ReplaceWithRegister | 1 - vim/config/keyboard.vim | 4 ---- 2 files changed, 5 deletions(-) delete mode 160000 vim/bundle/ReplaceWithRegister diff --git a/vim/bundle/ReplaceWithRegister b/vim/bundle/ReplaceWithRegister deleted file mode 160000 index ae316e2..0000000 --- a/vim/bundle/ReplaceWithRegister +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ae316e25ddb1b33feb644afc2c29c4f48653b55d diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 2b91694..bfd29b8 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -93,7 +93,6 @@ " p | (N) -> view the paste buffers and register contents " P | (V) -> save selection to the buffer and paste over " 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) " x | (N) -> delete the char(s) under and the cursor @@ -443,9 +442,6 @@ vnoremap P p xmap p ReplaceWithRegisterVisual - "copy to the end of the line - nnoremap Y vg_y - "delete/cut operations that don't replace the paste buffer nnoremap x "_x vnoremap x "_x