Remove the binding for T and use Y instead (and rely on yy to do what Y was doing)

This commit is contained in:
Kevin MacMartin 2022-04-14 00:56:07 -04:00
parent ad7c92dcc9
commit 2f8b8a8645

View file

@ -134,11 +134,7 @@
" <Leader>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
" <Ctrl-p>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)
" <Leader>x | (N) -> delete the char(s) under and the cursor
@ -717,15 +713,8 @@
vnoremap P p
xmap p <Plug>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 <Leader>x "_x