fixup keyMap

This commit is contained in:
Min RK 2014-12-02 12:55:49 -08:00
parent 54324633ca
commit c8a1f06179
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ define([
this.element.find('#menu-keymap-default').click(function () {
editor.update_codemirror_options({
vimMode: false,
keyMap: null
keyMap: 'default'
});
});
this.element.find('#menu-keymap-sublime').click(function () {

View File

@ -47,7 +47,7 @@ data-file-path="{{file_path}}"
<li id="menu-find"><a href="#">Find</a></li>
<li id="menu-replace"><a href="#">Find &amp; Replace</a></li>
<li class="divider"></li>
<li>Key Map</li>
<li class="dropdown-header">Key Map</li>
<li id="menu-keymap-default"><a href="#">Default<i class="fa"></i></a></li>
<li id="menu-keymap-sublime"><a href="#">Sublime Text<i class="fa"></i></a></li>
<li id="menu-keymap-vim"><a href="#">Vim<i class="fa"></i></a></li>