Show More
@@ -77,7 +77,7 b' define([' | |||||
77 | this.element.find('#menu-keymap-default').click(function () { |
|
77 | this.element.find('#menu-keymap-default').click(function () { | |
78 | editor.update_codemirror_options({ |
|
78 | editor.update_codemirror_options({ | |
79 | vimMode: false, |
|
79 | vimMode: false, | |
80 |
keyMap: |
|
80 | keyMap: 'default' | |
81 | }); |
|
81 | }); | |
82 | }); |
|
82 | }); | |
83 | this.element.find('#menu-keymap-sublime').click(function () { |
|
83 | this.element.find('#menu-keymap-sublime').click(function () { |
@@ -47,7 +47,7 b' data-file-path="{{file_path}}"' | |||||
47 | <li id="menu-find"><a href="#">Find</a></li> |
|
47 | <li id="menu-find"><a href="#">Find</a></li> | |
48 | <li id="menu-replace"><a href="#">Find & Replace</a></li> |
|
48 | <li id="menu-replace"><a href="#">Find & Replace</a></li> | |
49 | <li class="divider"></li> |
|
49 | <li class="divider"></li> | |
50 | <li>Key Map</li> |
|
50 | <li class="dropdown-header">Key Map</li> | |
51 | <li id="menu-keymap-default"><a href="#">Default<i class="fa"></i></a></li> |
|
51 | <li id="menu-keymap-default"><a href="#">Default<i class="fa"></i></a></li> | |
52 | <li id="menu-keymap-sublime"><a href="#">Sublime Text<i class="fa"></i></a></li> |
|
52 | <li id="menu-keymap-sublime"><a href="#">Sublime Text<i class="fa"></i></a></li> | |
53 | <li id="menu-keymap-vim"><a href="#">Vim<i class="fa"></i></a></li> |
|
53 | <li id="menu-keymap-vim"><a href="#">Vim<i class="fa"></i></a></li> |
General Comments 0
You need to be logged in to leave comments.
Login now