From 3ff7df37de4feca9fe3e84e7edc63ffbc35fbb63 2013-11-25 03:33:12 From: damianavila Date: 2013-11-25 03:33:12 Subject: [PATCH] Fixing language problems and redesign of the table. --- diff --git a/docs/source/interactive/cm_keyboard.rst b/docs/source/interactive/cm_keyboard.rst index 0989283..015fd92 100644 --- a/docs/source/interactive/cm_keyboard.rst +++ b/docs/source/interactive/cm_keyboard.rst @@ -7,81 +7,29 @@ Because each cell of the IPython notebook is powered by Codemirror, you can actually use a set of predetermined keyboard shortcuts to write and manipulate your content in an easier way. -Below, you will find three tables listing the available shortcuts: - -* Basic, with the most common and used shortcuts. - -* pcDefault, with a list of shortcuts specifically available for pc users. - -* macDefault, with a list of shortcuts specifically available for mac users. - -Basic ------ - -============ ========================== -**Shortcut** **Action** ------------- -------------------------- -Left go char left -Right go char right -Up go line up -Down go line down -End go line end -Home go line start -PageUp go begin cell -PageDown go end cell -Delete del char after -Backspace del char before -Enter newline and indent -Insert toggle overwrite -============ ========================== - -pcDefault ---------- - -============ ========================== -**Shortcut** **Action** ------------- -------------------------- -Ctrl-A select all -Ctrl-D delete line -Ctrl-Z undo -Shift-Ctrl-Z redo -Ctrl-Y redo -Ctrl-Home go begin cell -Alt-Up go begin cell -Ctrl-End go end cell -Ctrl-Down go end cell -Ctrl-Left go word left -Ctrl-Right go word right -Alt-Left go line start -Alt-Right go line end -Ctrl-Back del word before -Ctrl-Delete del word after -Ctrl-[ indent less -Ctrl-] indent more -============ ========================== - -macDefault ----------- - -============ ========================== -**Shortcut** **Action** ------------- -------------------------- -Cmd-A select all -Cmd-D delete line -Cmd-Z undo -Shift-Cmd-Z redo -Cmd-Y redo -Cmd-Up go begin cell -Cmd-End go end cell -Cmd-Down go end cell -Alt-Left go word left -Alt-Right go word right -Cmd-Left go line start -Cmd-Right go line end -Alt-Back del word before -Ctrl-Alt-Back del word after -Alt-Delete del word after -Cmd-[ indent less -Cmd-] indent more -============ ========================== - +Below, you will find a table listing the available shortcuts: + +========== ================== ============ ================= ============= +Codemirror shortcuts +------------------------------------------------------------------------------ +Basic Action pcDefault Action macDefault +========== ================== ============ ================= ============= +Left go to char left Ctrl-A select all Cmd-A +Right go to char right Ctrl-D delete line Cmd-D +Up go to line up Ctrl-Z undo Cmd-Z +Down go to line down Shift-Ctrl-Z redo Shift-Cmd-Z +End go to line end Ctrl-Y redo Cmd-Y +Home go to line start Ctrl-Home go to cell start Cmd-Up +PageUp go to cell start Alt-Up go to cell start Cmd-End +PageDown go to cell end Ctrl-End go to cell end - +Delete del char after Ctrl-Down go to cell end Cmd-Down +Backspace del char before Ctrl-Left go one word left Alt-Left +Enter newline and indent Ctrl-Right go one word right Alt-Right +Insert toggle overwrite Alt-Left go to line start Cmd-Left +- - Alt-Right go to line end Cmd-Right +- - Ctrl-Back del word before Alt-Back +- - - del word after Ctrl-Alt-Back +- - Ctrl-Delete del word after Alt-Delete +- - Ctrl-] indent Cmd-] +- - Ctrl-[ dedent Cmd-[ +========== ================== ============ ================= =============