feature(edit-file-vim) editor: add vim mode on shift + f4

This commit is contained in:
coderaiser 2017-05-17 17:12:22 +03:00
parent c068a99e76
commit 06c9663ae9
9 changed files with 233 additions and 7 deletions

View file

@ -84,6 +84,14 @@ function EditProto(callback) {
return;
CloudCmd.View.show(Element, initConfig(options));
Edit.getEditor()
.setOptions({
keyMap: 'default',
fontSize: 16,
});
return Edit;
};
Edit.getEditor = () => {
@ -96,6 +104,7 @@ function EditProto(callback) {
Edit.hide = () => {
CloudCmd.View.hide();
return Edit;
};
function _loadFiles(element, callback) {