mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -05:00
Remove the binding for T and use Y instead (and rely on yy to do what Y was doing)
This commit is contained in:
parent
ad7c92dcc9
commit
2f8b8a8645
1 changed files with 2 additions and 13 deletions
|
@ -134,11 +134,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 the character the cursor is on in normal mode
|
" Y | (N) -> copy to the end of the line
|
||||||
" 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
|
|
||||||
"
|
"
|
||||||
" (delete/cut functions)
|
" (delete/cut functions)
|
||||||
" <Leader>x | (N) -> delete the char(s) under and the cursor
|
" <Leader>x | (N) -> delete the char(s) under and the cursor
|
||||||
|
@ -717,15 +713,8 @@
|
||||||
vnoremap P p
|
vnoremap P p
|
||||||
xmap p <Plug>ReplaceWithRegisterVisual
|
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
|
"copy to the end of the line
|
||||||
nnoremap T vg_y
|
nnoremap Y vg_y
|
||||||
vnoremap T g_y
|
|
||||||
|
|
||||||
"Alternatives to cut/deletion commands that don't replace the buffer
|
"Alternatives to cut/deletion commands that don't replace the buffer
|
||||||
nnoremap <Leader>x "_x
|
nnoremap <Leader>x "_x
|
||||||
|
|
Loading…
Reference in a new issue