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

View File

@ -15,3 +15,5 @@ map('v', '>', '>gv', {})
-- Automatically spell check last error in insert mode -- Automatically spell check last error in insert mode
map('i', '<c-f>', '<c-g>u<Esc>[s1z=`]a<c-g>u', default_opts) 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)