mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-03 21:23:05 +00:00
feature(edit-file-vim) editor: add vim mode on shift + f4
This commit is contained in:
parent
c068a99e76
commit
06c9663ae9
9 changed files with 233 additions and 7 deletions
|
|
@ -71,13 +71,11 @@ CloudCmd.EditFile = function EditFileProto(callback) {
|
|||
setMsgChanged(name);
|
||||
|
||||
CloudCmd.Edit
|
||||
.show(ConfigView)
|
||||
.getEditor()
|
||||
.setValueFirst(path, data)
|
||||
.setModeForPath(name)
|
||||
.setOption('fontSize', 16)
|
||||
.enableKey();
|
||||
|
||||
CloudCmd.Edit.show(ConfigView);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue