mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-12-22 00:30:23 -05:00
Set Y to vY in normal mode so Y can copy lines in neovim
This commit is contained in:
parent
2a48821637
commit
272467b1ce
1 changed files with 5 additions and 1 deletions
|
@ -136,7 +136,8 @@
|
|||
" <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
|
||||
" 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
|
||||
|
@ -724,6 +725,9 @@
|
|||
"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
|
||||
|
|
Loading…
Reference in a new issue