Skip to content

cmp source for completing references #9

@avonmoll

Description

@avonmoll

Thanks for making this plugin - it's awesome so far. When I'm in a markdown file, for example, it would be great to be able to do autocompletion of citation tags. Suppose I have a document in my papis library with the field ref: smith1992optimal, and I'm editing a markdown document in which I want to cite this reference. One option, which currently works is to type @| (the pipe character denotes the cursor position) and then enter Normal mode and hit Spacepp to open the papis.nvim telescope picker, begin typing smith19... and the fuzzy finder eventually matches and then hit enter, which puts smith1992optimal at the cursor position. My suggestion is to feed the refs as a source for cmp - that way, one need not exit Insert mode to search/match/input the desired citation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions