Feat: add Y as yank to the end of the line

This commit is contained in:
Bertrand Benjamin 2021-11-09 09:58:27 +01:00
parent 025e863c75
commit a726bf12ac
1 changed files with 2 additions and 0 deletions

View File

@ -15,3 +15,5 @@ map('v', '>', '>gv', {})
-- Automatically spell check last error in insert mode
map('i', '<c-f>', '<c-g>u<Esc>[s1z=`]a<c-g>u', default_opts)
-- Yank to the end of the line
map('n', 'Y' ,'y$', default_opts)