summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-10-08 16:35:17 -0600
committerEric Schulte <schulte.eric@gmail.com>2011-10-08 16:38:32 -0600
commit4a7dd1e087fd6bbe6a2c02fc9b7ef61fa2ce9acc (patch)
tree94d60106797c76c108f47d6d4c319df3381e481b
parent9135ec76dd931698dfb028865a28b4f313bb40b4 (diff)
downloadorg-mode-4a7dd1e087fd6bbe6a2c02fc9b7ef61fa2ce9acc.tar.gz
binding new code block header argument helper function to C-c C-v h
-rw-r--r--doc/orgcard.tex3
-rw-r--r--lisp/ob-keys.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/orgcard.tex b/doc/orgcard.tex
index cccf0ce..38df521 100644
--- a/doc/orgcard.tex
+++ b/doc/orgcard.tex
@@ -445,6 +445,7 @@ formula, \kbd{:=} a field formula.
\key{execute code block at point}{C-c C-c}
\key{open results of code block at point}{C-c C-o}
\key{check code block at point for errors}{C-c C-v c}
+\key{insert a header argument with completion}{C-c C-v j}
\key{view expanded body of code block at point}{C-c C-v v}
\key{view information about code block at point}{C-c C-v I}
\key{go to named code block}{C-c C-v g}
@@ -460,7 +461,7 @@ formula, \kbd{:=} a field formula.
\key{tangle code blocks in supplied file}{C-c C-v f}
\key{ingest all code blocks in supplied file into the Library of Babel}{C-c C-v i}
\key{switch to the session of the current code block}{C-c C-v z}
-\key{load expanded body of the current code block into a session}{C-c C-v l}
+\key{load the current code block into a session}{C-c C-v l}
\key{view sha1 hash of the current code block}{C-c C-v a}
\section{Completion}
diff --git a/lisp/ob-keys.el b/lisp/ob-keys.el
index c853944..4f320a0 100644
--- a/lisp/ob-keys.el
+++ b/lisp/ob-keys.el
@@ -74,6 +74,8 @@ functions which are assigned key bindings, and see
("f" . org-babel-tangle-file)
("\C-c" . org-babel-check-src-block)
("c" . org-babel-check-src-block)
+ ("\C-j" . org-babel-insert-header-arg)
+ ("j" . org-babel-insert-header-arg)
("\C-l" . org-babel-load-in-session)
("l" . org-babel-load-in-session)
("\C-i" . org-babel-lob-ingest)