added vim-like home/end bindings...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-05-20 04:39:52 +03:00
parent ab7f0a77e6
commit a01f4a049e
2 changed files with 6 additions and 1 deletions

View File

@ -72,6 +72,8 @@ module.GLOBAL_KEYBOARD = {
// handle in next section... // handle in next section...
'(': 'NEXT', '(': 'NEXT',
')': 'NEXT', ')': 'NEXT',
'^': 'NEXT',
'$': 'NEXT',
// zooming... // zooming...
'#1': 'fitScreen', '#1': 'fitScreen',
@ -269,9 +271,11 @@ module.GLOBAL_KEYBOARD = {
Home: 'firstImage', Home: 'firstImage',
ctrl_Home: 'firstGlobalImage', ctrl_Home: 'firstGlobalImage',
shift_Home: 'firstRibbon', shift_Home: 'firstRibbon',
'^': 'Home',
End: 'lastImage', End: 'lastImage',
ctrl_End: 'lastGlobalImage', ctrl_End: 'lastGlobalImage',
shift_End: 'lastRibbon', shift_End: 'lastRibbon',
'$': 'End',
Up: 'prevRibbon', Up: 'prevRibbon',
caps_shift_Up: 'prevRibbon', caps_shift_Up: 'prevRibbon',

View File

@ -39,8 +39,9 @@
}, },
"devDependencies": { "devDependencies": {
"less": "*", "less": "*",
"nwjs": "*",
"webdriverio": "^4.0.4", "webdriverio": "^4.0.4",
"nwjs": "*" "webpack": "^2.5.1"
}, },
"bin": { "bin": {
"ig": "ig.js" "ig": "ig.js"