add back single character copy in normal mode

This commit is contained in:
Kevin MacMartin 2014-11-03 07:21:18 -05:00
parent 1b4b730453
commit 636849690b

View file

@ -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