mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
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:
parent
5a111c1b02
commit
54726e8bb9
@ -75,7 +75,6 @@ the differences.
|
|||||||
|
|
||||||
Default Mappings: *default-mappings*
|
Default Mappings: *default-mappings*
|
||||||
nnoremap Y y$
|
nnoremap Y y$
|
||||||
xnoremap Y y$
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3. New Features *nvim-features*
|
3. New Features *nvim-features*
|
||||||
|
@ -399,7 +399,7 @@ void init_normal_cmds(void)
|
|||||||
|
|
||||||
void init_default_mappings(void)
|
void init_default_mappings(void)
|
||||||
{
|
{
|
||||||
add_map((char_u *)"Y y$", NORMAL | VISUAL);
|
add_map((char_u *)"Y y$", NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user