Created
June 7, 2014 21:16
-
-
Save docsteveharris/980ec95a28781036d32b to your computer and use it in GitHub Desktop.
FoldingText keybindings to focus in or out by a level
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Log | |
// === | |
// 140607 - cloned from demo keybindings.ftplugin | |
define(function(require, exports, module) { | |
'use strict'; | |
var Extensions = require('ft/core/extensions').Extensions; | |
Extensions.addInit(function (editor) { | |
editor.addKeyMap({ | |
'Shift-Ctrl-[' : 'focusOut', | |
'Shift-Ctrl-]' : 'focusIn' | |
}); | |
}, Extensions.PriorityLast); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment