forked from qt-creator/qt-creator
Remove spaces in initializer lists
Format initializer lists code style like. Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -788,91 +788,91 @@ static const QMap<QString, int> &vimKeyNames()
|
||||
{
|
||||
static const QMap<QString, int> k = {
|
||||
// FIXME: Should be value of mapleader.
|
||||
{ "LEADER", Key_Backslash },
|
||||
{"LEADER", Key_Backslash},
|
||||
|
||||
{ "SPACE", Key_Space },
|
||||
{ "TAB", Key_Tab },
|
||||
{ "NL", Key_Return },
|
||||
{ "NEWLINE", Key_Return },
|
||||
{ "LINEFEED", Key_Return },
|
||||
{ "LF", Key_Return },
|
||||
{ "CR", Key_Return },
|
||||
{ "RETURN", Key_Return },
|
||||
{ "ENTER", Key_Return },
|
||||
{ "BS", Key_Backspace },
|
||||
{ "BACKSPACE", Key_Backspace },
|
||||
{ "ESC", Key_Escape },
|
||||
{ "BAR", Key_Bar },
|
||||
{ "BSLASH", Key_Backslash },
|
||||
{ "DEL", Key_Delete },
|
||||
{ "DELETE", Key_Delete },
|
||||
{ "KDEL", Key_Delete },
|
||||
{ "UP", Key_Up },
|
||||
{ "DOWN", Key_Down },
|
||||
{ "LEFT", Key_Left },
|
||||
{ "RIGHT", Key_Right },
|
||||
{"SPACE", Key_Space},
|
||||
{"TAB", Key_Tab},
|
||||
{"NL", Key_Return},
|
||||
{"NEWLINE", Key_Return},
|
||||
{"LINEFEED", Key_Return},
|
||||
{"LF", Key_Return},
|
||||
{"CR", Key_Return},
|
||||
{"RETURN", Key_Return},
|
||||
{"ENTER", Key_Return},
|
||||
{"BS", Key_Backspace},
|
||||
{"BACKSPACE", Key_Backspace},
|
||||
{"ESC", Key_Escape},
|
||||
{"BAR", Key_Bar},
|
||||
{"BSLASH", Key_Backslash},
|
||||
{"DEL", Key_Delete},
|
||||
{"DELETE", Key_Delete},
|
||||
{"KDEL", Key_Delete},
|
||||
{"UP", Key_Up},
|
||||
{"DOWN", Key_Down},
|
||||
{"LEFT", Key_Left},
|
||||
{"RIGHT", Key_Right},
|
||||
|
||||
{ "LT", Key_Less },
|
||||
{ "GT", Key_Greater },
|
||||
{"LT", Key_Less},
|
||||
{"GT", Key_Greater},
|
||||
|
||||
{ "F1", Key_F1 },
|
||||
{ "F2", Key_F2 },
|
||||
{ "F3", Key_F3 },
|
||||
{ "F4", Key_F4 },
|
||||
{ "F5", Key_F5 },
|
||||
{ "F6", Key_F6 },
|
||||
{ "F7", Key_F7 },
|
||||
{ "F8", Key_F8 },
|
||||
{ "F9", Key_F9 },
|
||||
{ "F10", Key_F10 },
|
||||
{"F1", Key_F1},
|
||||
{"F2", Key_F2},
|
||||
{"F3", Key_F3},
|
||||
{"F4", Key_F4},
|
||||
{"F5", Key_F5},
|
||||
{"F6", Key_F6},
|
||||
{"F7", Key_F7},
|
||||
{"F8", Key_F8},
|
||||
{"F9", Key_F9},
|
||||
{"F10", Key_F10},
|
||||
|
||||
{ "F11", Key_F11 },
|
||||
{ "F12", Key_F12 },
|
||||
{ "F13", Key_F13 },
|
||||
{ "F14", Key_F14 },
|
||||
{ "F15", Key_F15 },
|
||||
{ "F16", Key_F16 },
|
||||
{ "F17", Key_F17 },
|
||||
{ "F18", Key_F18 },
|
||||
{ "F19", Key_F19 },
|
||||
{ "F20", Key_F20 },
|
||||
{"F11", Key_F11},
|
||||
{"F12", Key_F12},
|
||||
{"F13", Key_F13},
|
||||
{"F14", Key_F14},
|
||||
{"F15", Key_F15},
|
||||
{"F16", Key_F16},
|
||||
{"F17", Key_F17},
|
||||
{"F18", Key_F18},
|
||||
{"F19", Key_F19},
|
||||
{"F20", Key_F20},
|
||||
|
||||
{ "F21", Key_F21 },
|
||||
{ "F22", Key_F22 },
|
||||
{ "F23", Key_F23 },
|
||||
{ "F24", Key_F24 },
|
||||
{ "F25", Key_F25 },
|
||||
{ "F26", Key_F26 },
|
||||
{ "F27", Key_F27 },
|
||||
{ "F28", Key_F28 },
|
||||
{ "F29", Key_F29 },
|
||||
{ "F30", Key_F30 },
|
||||
{"F21", Key_F21},
|
||||
{"F22", Key_F22},
|
||||
{"F23", Key_F23},
|
||||
{"F24", Key_F24},
|
||||
{"F25", Key_F25},
|
||||
{"F26", Key_F26},
|
||||
{"F27", Key_F27},
|
||||
{"F28", Key_F28},
|
||||
{"F29", Key_F29},
|
||||
{"F30", Key_F30},
|
||||
|
||||
{ "F31", Key_F31 },
|
||||
{ "F32", Key_F32 },
|
||||
{ "F33", Key_F33 },
|
||||
{ "F34", Key_F34 },
|
||||
{ "F35", Key_F35 },
|
||||
{"F31", Key_F31},
|
||||
{"F32", Key_F32},
|
||||
{"F33", Key_F33},
|
||||
{"F34", Key_F34},
|
||||
{"F35", Key_F35},
|
||||
|
||||
{ "INSERT", Key_Insert },
|
||||
{ "INS", Key_Insert },
|
||||
{ "KINSERT", Key_Insert },
|
||||
{ "HOME", Key_Home },
|
||||
{ "END", Key_End },
|
||||
{ "PAGEUP", Key_PageUp },
|
||||
{ "PAGEDOWN", Key_PageDown },
|
||||
{"INSERT", Key_Insert},
|
||||
{"INS", Key_Insert},
|
||||
{"KINSERT", Key_Insert},
|
||||
{"HOME", Key_Home},
|
||||
{"END", Key_End},
|
||||
{"PAGEUP", Key_PageUp},
|
||||
{"PAGEDOWN", Key_PageDown},
|
||||
|
||||
{ "KPLUS", Key_Plus },
|
||||
{ "KMINUS", Key_Minus },
|
||||
{ "KDIVIDE", Key_Slash },
|
||||
{ "KMULTIPLY", Key_Asterisk },
|
||||
{ "KENTER", Key_Enter },
|
||||
{ "KPOINT", Key_Period },
|
||||
{"KPLUS", Key_Plus},
|
||||
{"KMINUS", Key_Minus},
|
||||
{"KDIVIDE", Key_Slash},
|
||||
{"KMULTIPLY", Key_Asterisk},
|
||||
{"KENTER", Key_Enter},
|
||||
{"KPOINT", Key_Period},
|
||||
|
||||
{ "CAPS", Key_CapsLock },
|
||||
{ "NUM", Key_NumLock },
|
||||
{ "SCROLL", Key_ScrollLock },
|
||||
{ "ALTGR", Key_AltGr }
|
||||
{"CAPS", Key_CapsLock},
|
||||
{"NUM", Key_NumLock},
|
||||
{"SCROLL", Key_ScrollLock},
|
||||
{"ALTGR", Key_AltGr}
|
||||
};
|
||||
|
||||
return k;
|
||||
|
||||
Reference in New Issue
Block a user