mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-26 13:01:26 -05:00
T now copies to the end of the line (like D but without deletion)
This commit is contained in:
parent
54a24c4f18
commit
c34ff14e3b
1 changed files with 6 additions and 0 deletions
|
@ -181,6 +181,8 @@
|
||||||
" 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
|
||||||
" <Ctrl-p>Direction | (N) -> paste in the direction entered
|
" <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
|
||||||
|
@ -572,6 +574,10 @@
|
||||||
vnoremap P p
|
vnoremap P p
|
||||||
xmap p <Plug>ReplaceWithRegisterVisual
|
xmap p <Plug>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
|
"Alternatives to cut/deletion commands that don't replace the buffer
|
||||||
nnoremap <Leader>x "_x
|
nnoremap <Leader>x "_x
|
||||||
vnoremap <Leader>x "_x
|
vnoremap <Leader>x "_x
|
||||||
|
|
Loading…
Reference in a new issue