mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -05:00
add back single character copy in normal mode
This commit is contained in:
parent
1b4b730453
commit
636849690b
1 changed files with 4 additions and 0 deletions
|
@ -132,6 +132,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
|
||||||
" <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 | (N) -> copy to the end of the line
|
||||||
" T | (V) -> copy to the end of the line
|
" T | (V) -> copy to the end of the line
|
||||||
|
@ -555,6 +556,9 @@
|
||||||
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 to the end of the line
|
"copy to the end of the line
|
||||||
nnoremap T vg_y
|
nnoremap T vg_y
|
||||||
vnoremap T g_y
|
vnoremap T g_y
|
||||||
|
|
Loading…
Reference in a new issue