# Maybe The Four Most Important Key-Bindings For High-Speed Org-Mode Literate Programming

Ever watched an Org-Mode Literate Programming program at all? How about progam quickly? I have. I mean I have done both, myself. Can you believe that you can navigate the document, all of its source blocks and fly between editing the source buffer and returning to the host buffer just as fast as a working within a normal code file? You should. Some day I’ll make a screencast proving it. Until then try out these bindings and you will see how quickly you can do Literate Programming fast while having fun:

(define-key org-mode-map (kbd "s-j") #'org-babel-next-src-block)
(define-key org-mode-map (kbd "s-k") #'org-babel-previous-src-block)
(define-key org-mode-map (kbd "s-l") #'org-edit-src-code)
(define-key org-src-mode-map (kbd "s-l") #'org-edit-src-exit)


## 3 thoughts on “Maybe The Four Most Important Key-Bindings For High-Speed Org-Mode Literate Programming”

1. éric says:

One more function to bind to is org-babel-goto-named-src-block. I use this all the time to jump around a file with many src blocks. Does require having a good consistent naming convention but emacs will TAB-complete of course!

1. Grant says:

Thank you éric.