mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-25 21:16:38 +03:00
parent
46b167b851
commit
0555288e46
@ -674,6 +674,10 @@ void use_selection_as_search_pattern(Context& context, NormalParams)
|
|||||||
content = content + "\\b";
|
content = content + "\\b";
|
||||||
}
|
}
|
||||||
patterns.push_back(std::move(content));
|
patterns.push_back(std::move(content));
|
||||||
|
|
||||||
|
context.print_status({
|
||||||
|
format("search pattern set to '{}'", patterns[sels.main_index()]),
|
||||||
|
get_face("Information") });
|
||||||
}
|
}
|
||||||
RegisterManager::instance()['/'] = patterns;
|
RegisterManager::instance()['/'] = patterns;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user