MCPcopy Create free account
hub / github.com/Rezonality/zep / AddKeyMapWithCountRegisters

Method AddKeyMapWithCountRegisters

src/mode.cpp:2436–2448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2434}
2435
2436void ZepMode::AddKeyMapWithCountRegisters(const std::vector<KeyMap*>& maps, const std::vector<std::string>& commands, const StringId& id)
2437{
2438 for (auto& m : maps)
2439 {
2440 for (auto& c : commands)
2441 {
2442 keymap_add({ m }, { "<D><R>" + c }, id);
2443 keymap_add({ m }, { "<R>" + c }, id);
2444 keymap_add({ m }, { "<D>" + c }, id);
2445 keymap_add({ m }, { c }, id);
2446 }
2447 }
2448}
2449
2450void ZepMode::AddNavigationKeyMaps(bool allowInVisualMode)
2451{

Callers

nothing calls this directly

Calls 1

keymap_addFunction · 0.85

Tested by

no test coverage detected