aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/fakevim
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@qt.io>2017-02-22 15:09:35 +0100
committerTim Jenssen <tim.jenssen@qt.io>2017-02-22 16:25:09 +0000
commit2631ffabd5a7955a40b9779b0d52af64e3bd3a60 (patch)
treea030ea11d0d561b720d0e0d352b4a0fc728a6758 /src/plugins/fakevim
parent005ca71cac65b7c766d814b97b830e2af1c7aa53 (diff)
Remove spaces in initializer lists
Format initializer lists code style like. Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/fakevim')
-rw-r--r--src/plugins/fakevim/fakevimhandler.cpp170
1 files changed, 85 insertions, 85 deletions
diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp
index 0c5750e568e..b56107d9dd4 100644
--- a/src/plugins/fakevim/fakevimhandler.cpp
+++ b/src/plugins/fakevim/fakevimhandler.cpp
@@ -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 },
-
- { "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 },
-
- { "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 },
-
- { "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 },
-
- { "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 },
-
- { "CAPS", Key_CapsLock },
- { "NUM", Key_NumLock },
- { "SCROLL", Key_ScrollLock },
- { "ALTGR", Key_AltGr }
+ {"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},
+
+ {"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},
+
+ {"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},
+
+ {"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},
+
+ {"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}
};
return k;