mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
feat(defaults): map Y to y$ #13268
rationale: - consistent with D and Y - long recommended by Vim's own ":help Y" close #13268 close #416 ref #6289
This commit is contained in:
@@ -397,6 +397,11 @@ void init_normal_cmds(void)
|
||||
nv_max_linear = i - 1;
|
||||
}
|
||||
|
||||
void init_default_mappings(void)
|
||||
{
|
||||
add_map((char_u *)"Y y$", NORMAL | VISUAL);
|
||||
}
|
||||
|
||||
/*
|
||||
* Search for a command in the commands table.
|
||||
* Returns -1 for invalid command.
|
||||
|
Reference in New Issue
Block a user