From 2f8b8a864519dece2974d241bca47d3660a50967 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Thu, 14 Apr 2022 00:56:07 -0400 Subject: [PATCH] Remove the binding for T and use Y instead (and rely on yy to do what Y was doing) --- vim/config/keyboard.vim | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 6863ef7..5a28b90 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -134,11 +134,7 @@ " 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 the character the cursor is on in normal mode -" Y | (N) -> copy the line in normal mode -" Direction | (N) -> paste in the direction entered -" T | (N) -> copy to the end of the line -" T | (V) -> copy to the end of the line +" Y | (N) -> copy to the end of the line " " (delete/cut functions) " x | (N) -> delete the char(s) under and the cursor @@ -717,15 +713,8 @@ vnoremap P p xmap p ReplaceWithRegisterVisual - "copy the current character in normal mode - nnoremap y vy - - "copy the line in normal mode - nnoremap Y vY - "copy to the end of the line - nnoremap T vg_y - vnoremap T g_y + nnoremap Y vg_y "Alternatives to cut/deletion commands that don't replace the buffer nnoremap x "_x