aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2021-08-16 00:13:25 -0700
committerGitHub <noreply@github.com>2021-08-16 00:13:25 -0700
commit54726e8bb9f7d33ad0a603d82b408cb571c2a7a3 (patch)
tree4992035884356de6f3d7181283abaa8977cda8c3 /src
parent5a111c1b02bbfbc2b42df11d7205153be0893dff (diff)
downloadrneovim-54726e8bb9f7d33ad0a603d82b408cb571c2a7a3.tar.gz
rneovim-54726e8bb9f7d33ad0a603d82b408cb571c2a7a3.tar.bz2
rneovim-54726e8bb9f7d33ad0a603d82b408cb571c2a7a3.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/nvim/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c
index a92376a3ec..ae6f3792de 100644
--- a/src/nvim/normal.c
+++ b/src/nvim/normal.c
@@ -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);
}
/*