mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
feat(defaults): search selection by * and # in visual mode (#18538)
This commit is contained in:
@@ -848,6 +848,8 @@ void init_default_mappings(void)
|
||||
MODE_NORMAL, true);
|
||||
add_map((char_u *)"<C-U> <C-G>u<C-U>", MODE_INSERT, true);
|
||||
add_map((char_u *)"<C-W> <C-G>u<C-W>", MODE_INSERT, true);
|
||||
add_map((char_u *)"* y/\\\\V<C-R>\"<CR>", MODE_VISUAL, true);
|
||||
add_map((char_u *)"# y?\\\\V<C-R>\"<CR>", MODE_VISUAL, true);
|
||||
}
|
||||
|
||||
// Insert a string in position 'offset' in the typeahead buffer (for "@r"
|
||||
|
Reference in New Issue
Block a user