Thomas Hodgson is a user on scholar.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
Thomas Hodgson @twsh

I've installed with a clean config file. So far the only thing I've wanted to add back is UK English spelling for markdown files, and recognising .md as markdown.

I will need to look into adding references before I can write papers with it.

I currently export from Zotero to Biblatex with github.com/retorquere/zotero-b and insert citations with github.com/twsh/unite-bibtex

Maybe I can streamline that a bit?

neovim.io/

· Web · 0 · 0

@twsh I use deoplete (github.com/Shougo/deoplete.nvi) with vim-pandoc's (github.com/vim-pandoc/vim-pand) completion for bibtex files to insert citations, it works pretty well for me.

@ipt Basic question: how do I tell deoplete where to find my bibliography file?

@twsh vim-pandoc should take care of that, and it tries to be somewhat helpful. see github.com/vim-pandoc/vim-pand

Basically, if it finds a bibliography file with the same name as your file, it uses that, then it looks for any other bibliography file in the current dir, and then it looks for files you might have configured globally or locally to the buffer.

@twsh I forgot: the deoplete integration is in vim-pandoc-after, but you can add it with

``` vim
au! FileType pandoc,markdown * let g:deoplete#omni_patterns.pandoc = '@\w*'
```

Then deoplete is triggered after any `@` string (it marks a citation in pandoc's markdown).

@ipt It seems to work for me without vim-pandoc-after.

Thanks for your help!

Awesome! Show more

Awesome! Show more

@ipt I see what you mean now: I don't get completion just after typing '@'. I will give vim-pandoc-after a go.

@ipt Do I need `let g:pandoc#after#modules#enabled = ["deoplete"]`?

@twsh yes, that's right. Then it sets things up in its own.

With some help from @ipt I've set up github.com/Shougo/deoplete.nvi and github.com/vim-pandoc/vim-pand

This looks like a nice set up for writing: cite keys complete from the bibliography I export from .

I brought back github.com/davidoc/taskpaper.v too because I have a few files.

@ipt github.com/vim-pandoc/vim-mark looks good too.

Now I can write text, insert footnotes and citations, and turn it into a PDF. That's probably all a philosopher ought to want.

@twsh pandoc can be used to make slides too. With templates, you can use the same file to produce the slides and a nice handout.

No wonder it's so useful for philosophers: the creator of Pandoc is a philosopher (John McFarlane), and I started working on vim-pandoc while I procrastinated instead of writing my (first) Master's thesis).

@ipt Yes, it's a great tool. I've made a few contributions to the templates over the last year or so.