rename go function to goto_commands
This commit is contained in:
parent
38bd8c243f
commit
362e346728
|
@ -32,7 +32,7 @@ void repeat_insert(Context& context)
|
||||||
}
|
}
|
||||||
|
|
||||||
template<SelectMode mode>
|
template<SelectMode mode>
|
||||||
void go(Context& context)
|
void goto_commands(Context& context)
|
||||||
{
|
{
|
||||||
int count = context.numeric_param();
|
int count = context.numeric_param();
|
||||||
if (count != 0)
|
if (count != 0)
|
||||||
|
@ -707,8 +707,8 @@ KeyMap keymap =
|
||||||
{ { Key::Modifiers::None, 'O' }, insert<InsertMode::OpenLineAbove> },
|
{ { Key::Modifiers::None, 'O' }, insert<InsertMode::OpenLineAbove> },
|
||||||
{ { Key::Modifiers::None, 'r' }, replace_with_char },
|
{ { Key::Modifiers::None, 'r' }, replace_with_char },
|
||||||
|
|
||||||
{ { Key::Modifiers::None, 'g' }, go<SelectMode::Replace> },
|
{ { Key::Modifiers::None, 'g' }, goto_commands<SelectMode::Replace> },
|
||||||
{ { Key::Modifiers::None, 'G' }, go<SelectMode::Extend> },
|
{ { Key::Modifiers::None, 'G' }, goto_commands<SelectMode::Extend> },
|
||||||
|
|
||||||
{ { Key::Modifiers::None, 'v' }, view_commands },
|
{ { Key::Modifiers::None, 'v' }, view_commands },
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user