diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-04-19 13:49:47 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-04-19 13:49:47 +0200 |
| commit | 362e3467289b7e71a27c36e20aa5c0d19ff6cac3 (patch) | |
| tree | 4013a5bc96217e9db9683f56c061ad279f0ae49f /src/normal.cc | |
| parent | 38bd8c243faf11737ba6cc6273495dbbe6fdc80e (diff) | |
rename go function to goto_commands
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/normal.cc b/src/normal.cc index ff30fa2b..3b8db13a 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -32,7 +32,7 @@ void repeat_insert(Context& context) } template<SelectMode mode> -void go(Context& context) +void goto_commands(Context& context) { int count = context.numeric_param(); if (count != 0) @@ -707,8 +707,8 @@ KeyMap keymap = { { Key::Modifiers::None, 'O' }, insert<InsertMode::OpenLineAbove> }, { { Key::Modifiers::None, 'r' }, replace_with_char }, - { { Key::Modifiers::None, 'g' }, go<SelectMode::Replace> }, - { { Key::Modifiers::None, 'G' }, go<SelectMode::Extend> }, + { { Key::Modifiers::None, 'g' }, goto_commands<SelectMode::Replace> }, + { { Key::Modifiers::None, 'G' }, goto_commands<SelectMode::Extend> }, { { Key::Modifiers::None, 'v' }, view_commands }, |
