diff --git a/vim/config/keyboard.vim b/vim/config/keyboard.vim index b4ddb58..b081fd8 100644 --- a/vim/config/keyboard.vim +++ b/vim/config/keyboard.vim @@ -132,6 +132,7 @@ " 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 " 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 @@ -555,6 +556,9 @@ vnoremap P p xmap p ReplaceWithRegisterVisual + "copy the current character in normal mode + nnoremap y vy + "copy to the end of the line nnoremap T vg_y vnoremap T g_y