diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index 92f6815..4e7de13 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -181,6 +181,8 @@ " P | (V) -> save selection to the buffer and paste over " p | (V) -> preserve the buffer pasting over selected text " 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 " " (delete/cut functions) " x | (N) -> delete the char(s) under and the cursor @@ -572,6 +574,10 @@ vnoremap P p xmap p ReplaceWithRegisterVisual + "copy to the end of the line + nnoremap T vg_y + vnoremap T g_y + "Alternatives to cut/deletion commands that don't replace the buffer nnoremap x "_x vnoremap x "_x