Next: Batch execution, Previous: Noweb reference syntax, Up: Working With Source Code [Contents][Index]

### 14.11 Key bindings and useful functions

Many common Org mode key sequences are re-bound depending on the context.

Within a code block, the following key bindings are active:

`C-c C-c` | `org-babel-execute-src-block`
`C-c C-o` | `org-babel-open-src-block-result`
`M-up` | `org-babel-load-in-session`
`M-down` | `org-babel-switch-to-session`

In an Org mode buffer, the following key bindings are active:

`C-c C-v p` or `C-c C-v C-p` | `org-babel-previous-src-block`
`C-c C-v n` or `C-c C-v C-n` | `org-babel-next-src-block`
`C-c C-v e` or `C-c C-v C-e` | `org-babel-execute-maybe`
`C-c C-v o` or `C-c C-v C-o` | `org-babel-open-src-block-result`
`C-c C-v v` or `C-c C-v C-v` | `org-babel-expand-src-block`
`C-c C-v u` or `C-c C-v C-u` | `org-babel-goto-src-block-head`
`C-c C-v g` or `C-c C-v C-g` | `org-babel-goto-named-src-block`
`C-c C-v r` or `C-c C-v C-r` | `org-babel-goto-named-result`
`C-c C-v b` or `C-c C-v C-b` | `org-babel-execute-buffer`
`C-c C-v s` or `C-c C-v C-s` | `org-babel-execute-subtree`
`C-c C-v d` or `C-c C-v C-d` | `org-babel-demarcate-block`
`C-c C-v t` or `C-c C-v C-t` | `org-babel-tangle`
`C-c C-v f` or `C-c C-v C-f` | `org-babel-tangle-file`
`C-c C-v c` or `C-c C-v C-c` | `org-babel-check-src-block`
`C-c C-v j` or `C-c C-v C-j` | `org-babel-insert-header-arg`
`C-c C-v l` or `C-c C-v C-l` | `org-babel-load-in-session`
`C-c C-v i` or `C-c C-v C-i` | `org-babel-lob-ingest`
`C-c C-v I` or `C-c C-v C-I` | `org-babel-view-src-block-info`
`C-c C-v z` or `C-c C-v C-z` | `org-babel-switch-to-session-with-code`
`C-c C-v a` or `C-c C-v C-a` | `org-babel-sha1-hash`
`C-c C-v h` or `C-c C-v C-h` | `org-babel-describe-bindings`
`C-c C-v x` or `C-c C-v C-x` | `org-babel-do-key-sequence-in-edit-buffer`

Next: Batch execution, Previous: Noweb reference syntax, Up: Working With Source Code [Contents][Index]