Vim & diatheke

I’m sure the subset of pastors who use the Vim editor for sermon and lesson preparation is probably miniscule. If you are one of them I have found an excellent tool for inserting biblical references into your document. The open source Sword project has command line bible tool called diatheke. (I think it is installed automatically with their other Bible software projects; at least I think my Bible Time installation included it.)

You can quickly insert scripture into a document you’re editing in Vim with the :read! command. For example:

:read! diatheke -b ESV -k 1 Peter 3:21

This is much quicker for me than using mouse selection and moving between programs.

5 thoughts on “Vim & diatheke

  1. Hey! I may not be a pastor but I’m in that subset of people who use vim to prepare studies haha. I’m having trouble installing modules, could you give me a pointer on how to ad a version? Right now when I run commands nothing outputs and I’m assuming htat’s because I don’t yet have the modules installed.

    Thanks!

  2. Hello. I am working on a similar project that may be of use to either of you. It is a plugin to insert Bible references into Neovim, but using fzf/Telescope to offer an interactive selection of either the reference or verses with a preview the and then insert it. If you find yourself using it and would like certain features requests or would like certain feature requests to use it, just ask me and I could potentially work on them. Project url: https://github.com/MasterTemple/bible.nvim

  3. Thank you for pointing this out to me. I have used this for volunteer sermons over the last four years, and it has been an excellent resource. I like preparing sermons in Vimwiki using the diatheke call you mentioned. I then convert the markdown into .rtf or .pdf using Pandoc. I’ve spent way too much time configuring this, but it makes the sermon preparation process much more focused. I do not like having to keep going back to a browser and copying and pasting, and this is a great solution.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.