fix(defaults): do not map Y in visual-mode #15387

Y in visual-mode is unrelated to the normal-mode behavior.

reverts part of #13268
This commit is contained in:
Justin M. Keyes 2021-08-16 00:13:25 -07:00 committed by GitHub
parent 5a111c1b02
commit 54726e8bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -75,7 +75,6 @@ the differences.
Default Mappings: *default-mappings*
nnoremap Y y$
xnoremap Y y$
==============================================================================
3. New Features *nvim-features*

View File

@ -399,7 +399,7 @@ void init_normal_cmds(void)
void init_default_mappings(void)
{
add_map((char_u *)"Y y$", NORMAL | VISUAL);
add_map((char_u *)"Y y$", NORMAL);
}
/*