diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index dcd08736e5..1b669a4873 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -75,7 +75,6 @@ the differences. Default Mappings: *default-mappings* nnoremap Y y$ - xnoremap Y y$ ============================================================================== 3. New Features *nvim-features* 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); } /*