[nvim] make the U mapping respect vim-repeat

This commit is contained in:
Dmytro Meleshko 2021-03-20 23:14:48 +02:00
parent 42b4c58377
commit d129ba7563

View file

@ -95,7 +95,7 @@ set commentstring=//%s
" make the default Vim mappings more consistent " make the default Vim mappings more consistent
" https://www.reddit.com/r/vim/comments/dgbr9l/mappings_i_would_change_for_more_consistent_vim/ " https://www.reddit.com/r/vim/comments/dgbr9l/mappings_i_would_change_for_more_consistent_vim/
nnoremap U <C-r> nmap U <C-r>
nnoremap Y y$ nnoremap Y y$
" <C-i> is treated as <tab> in terminals, so the original function of <C-i> " <C-i> is treated as <tab> in terminals, so the original function of <C-i>