##// END OF EJS Templates
Merge pull request #4712 from takluyver/docs-shotgun-3...
Merge pull request #4712 from takluyver/docs-shotgun-3 Various docs fixes * Tweak exclude patterns, which were accidentally excluding qt.console.frontend_widget * Added example of adding input transformers (#4709) * Tidied up and added some module docstrings, now that we're using the first line in the API index * Update the inputsplitter module docstring, which was rather out of date. * Fix some header levels introduced in #4265 * pyreadline is apparently no longer mandatory on Windows (#4544)

File last commit:

r13708:b1e321f5
r13973:1faf2f6e merge
Show More
cm_keyboard.rst
41 lines | 1.9 KiB | text/x-rst | RstLexer

Some additional Codemirror keyboard shortcuts

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 easily:

Action PC shortcut Mac shortcut
newline & indent Enter Enter
toggle overwrite Insert Insert
indent Ctrl-] Cmd-]
dedent Ctrl-[ Cmd-[
select all Ctrl-A Cmd-A
delete line Ctrl-D Cmd-D
undo Ctrl-Z Cmd-Z
redo Ctrl-Shift-Z Cmd-Shift-Z
redo Ctrl-Y Cmd-Y
go to cell start Ctrl-Home Cmd-Up
go to cell start Alt-Up Cmd-End
go to cell start PageUp PageUp
go to cell end Ctrl-End ---
go to cell end Ctrl-Down Cmd-Down
go to cell end PageDown PageDown
go one word left Ctrl-Left Alt-Left
go one word right Ctrl-Right Alt-Right
go to line start Alt-Left Cmd-Left
go to line start Home Home
go to line end Alt-Right Cmd-Right
go to line end End End
del word before Ctrl-Backspace Alt-Backspace
del word after --- Ctrl-Alt-Backspace
del word after Ctrl-Delete Alt-Delete

Note

These shorcuts are valid for US keyboards, so some shortcuts can change for non-US keyboards.