Created
December 4, 2017 19:59
-
-
Save jonEbird/4580c7a91d6d3fee99a57241e5646ace to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; In an effort to fix the poor new template system, introducing my own fix: | |
(defun jsm/org-src-block () | |
"Better src block completion experience" | |
(interactive) | |
(org-insert-structure-template | |
(concat "src " (completing-read "Source type: " org-src-lang-modes)))) | |
(define-key org-mode-map (kbd "C-c s") 'jsm/org-src-block) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment