Skip to content

Commit 51fc769

Browse files
committed
Clean up formatting
1 parent 0552b3b commit 51fc769

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

notebook/static/notebook/js/quickhelp.js

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -36,45 +36,45 @@ define([
3636
// Mac OS X specific
3737
cmd_ctrl = 'Cmd-';
3838
platform_specific = [
39-
{ shortcut: "Cmd-Up", help:i18n.msg._("go to cell start") },
40-
{ shortcut: "Cmd-Down", help:i18n.msg._("go to cell end") },
41-
{ shortcut: "Alt-Left", help:i18n.msg._("go one word left") },
42-
{ shortcut: "Alt-Right", help:i18n.msg._("go one word right") },
43-
{ shortcut: "Alt-Backspace", help:i18n.msg._("delete word before") },
44-
{ shortcut: "Alt-Delete", help:i18n.msg._("delete word after") },
45-
{ shortcut: "Cmd-Shift-z", help:i18n.msg._("redo") },
46-
{ shortcut: "Shift-Cmd-u", help:i18n.msg._("redo selection") },
47-
{ shortcut: "Ctrl-k", help:i18n.msg._("emacs-style line kill") },
48-
{ shortcut: "Cmd-Backspace", help:i18n.msg._("delete line left of cursor") },
49-
{ shortcut: "Cmd-Delete", help:i18n.msg._("delete line right of cursor") },
39+
{ shortcut: "Cmd-Up", help:i18n.msg._("go to cell start") },
40+
{ shortcut: "Cmd-Down", help:i18n.msg._("go to cell end") },
41+
{ shortcut: "Alt-Left", help:i18n.msg._("go one word left") },
42+
{ shortcut: "Alt-Right", help:i18n.msg._("go one word right") },
43+
{ shortcut: "Alt-Backspace", help:i18n.msg._("delete word before") },
44+
{ shortcut: "Alt-Delete", help:i18n.msg._("delete word after") },
45+
{ shortcut: "Cmd-Shift-z", help:i18n.msg._("redo") },
46+
{ shortcut: "Shift-Cmd-u", help:i18n.msg._("redo selection") },
47+
{ shortcut: "Ctrl-k", help:i18n.msg._("emacs-style line kill") },
48+
{ shortcut: "Cmd-Backspace", help:i18n.msg._("delete line left of cursor") },
49+
{ shortcut: "Cmd-Delete", help:i18n.msg._("delete line right of cursor") }
5050
];
5151
} else {
5252
// PC specific
5353
platform_specific = [
54-
{ shortcut: "Ctrl-Home", help:i18n.msg._("go to cell start") },
55-
{ shortcut: "Ctrl-Up", help:i18n.msg._("go to cell start") },
56-
{ shortcut: "Ctrl-End", help:i18n.msg._("go to cell end") },
57-
{ shortcut: "Ctrl-Down", help:i18n.msg._("go to cell end") },
58-
{ shortcut: "Ctrl-Left", help:i18n.msg._("go one word left") },
59-
{ shortcut: "Ctrl-Right", help:i18n.msg._("go one word right") },
60-
{ shortcut: "Ctrl-Backspace", help:i18n.msg._("delete word before") },
61-
{ shortcut: "Ctrl-Delete", help:i18n.msg._("delete word after") },
62-
{ shortcut: "Ctrl-y", help:i18n.msg._("redo") },
63-
{ shortcut: "Alt-u", help:i18n.msg._("redo selection") }
54+
{ shortcut: "Ctrl-Home", help:i18n.msg._("go to cell start") },
55+
{ shortcut: "Ctrl-Up", help:i18n.msg._("go to cell start") },
56+
{ shortcut: "Ctrl-End", help:i18n.msg._("go to cell end") },
57+
{ shortcut: "Ctrl-Down", help:i18n.msg._("go to cell end") },
58+
{ shortcut: "Ctrl-Left", help:i18n.msg._("go one word left") },
59+
{ shortcut: "Ctrl-Right", help:i18n.msg._("go one word right") },
60+
{ shortcut: "Ctrl-Backspace", help:i18n.msg._("delete word before")},
61+
{ shortcut: "Ctrl-Delete", help:i18n.msg._("delete word after")},
62+
{ shortcut: "Ctrl-y", help:i18n.msg._("redo")},
63+
{ shortcut: "Alt-u", help:i18n.msg._("redo selection") }
6464
];
6565
}
6666

6767
var cm_shortcuts = [
68-
{ shortcut:"Tab", help:i18n.msg._("code completion or indent") },
69-
{ shortcut:"Shift-Tab", help:i18n.msg._("tooltip") },
70-
{ shortcut: cmd_ctrl + "]", help:i18n.msg._("indent") },
71-
{ shortcut: cmd_ctrl + "[", help:i18n.msg._("dedent") },
72-
{ shortcut: cmd_ctrl + "a", help:i18n.msg._("select all") },
73-
{ shortcut: cmd_ctrl + "z", help:i18n.msg._("undo") },
74-
{ shortcut: cmd_ctrl + "/", help:i18n.msg._("comment") },
75-
{ shortcut: cmd_ctrl + "d", help:i18n.msg._("delete whole line") },
76-
{ shortcut: cmd_ctrl + "u", help:i18n.msg._("undo selection") },
77-
{ shortcut: "Insert", help:i18n.msg._("toggle overwrite flag") }
68+
{ shortcut:"Tab", help:i18n.msg._("code completion or indent") },
69+
{ shortcut:"Shift-Tab", help:i18n.msg._("tooltip") },
70+
{ shortcut: cmd_ctrl + "]", help:i18n.msg._("indent") },
71+
{ shortcut: cmd_ctrl + "[", help:i18n.msg._("dedent") },
72+
{ shortcut: cmd_ctrl + "a", help:i18n.msg._("select all") },
73+
{ shortcut: cmd_ctrl + "z", help:i18n.msg._("undo") },
74+
{ shortcut: cmd_ctrl + "/", help:i18n.msg._("comment") },
75+
{ shortcut: cmd_ctrl + "d", help:i18n.msg._("delete whole line") },
76+
{ shortcut: cmd_ctrl + "u", help:i18n.msg._("undo selection") },
77+
{ shortcut: "Insert", help:i18n.msg._("toggle overwrite flag") }
7878
].concat( platform_specific );
7979

8080
var mac_humanize_map = {

0 commit comments

Comments
 (0)