C++ format keybinding